You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Add instructions for using Spring Boot prior to version 2.7 (#674)
* Add instructions for using Spring Boot prior to version 2.7
* docs: Update README.md
---------
Co-authored-by: xushengbin <[email protected]>
Co-authored-by: Jakub Bednář <[email protected]>
The reason for this is that Spring Boot 2.7 has changed the way that auto-configuration and management context classes are discovered. see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes
59
+
60
+
46
61
If you want to configure the `InfluxDBClientReactive` client, you need to include `influxdb-client-reactive` on your classpath instead of `influxdb-client-java`.
47
62
48
63
## Actuator for InfluxDB2 micrometer registry
49
64
50
-
To enable export metrics to **InfluxDB 2.x** you need to include `micrometer-registry-influx` on your classpath.
65
+
To enable export metrics to **InfluxDB 2.x** you need to include `micrometer-core` on your classpath.
66
+
(Due to package conflicts, the `spring-boot-actuator` may have relied on an earlier version of the `micrometer-core`. Therefore, it is necessary to specify a higher version here.)
51
67
52
68
The default configuration can be override via properties:
num-threads: 2 # Number of threads to use with the metrics publishing scheduler. (Default: 2)
66
82
batch-size: 10000 # Number of measurements per request to use for this backend. If more measurements are found, then multiple requests will be made. (Default: 10000)
0 commit comments