Merge branch '3.2.x'

Closes gh-39152
This commit is contained in:
Phillip Webb 2024-01-16 11:18:55 -08:00
commit 02b63a3b19
2 changed files with 9 additions and 6 deletions

View File

@ -9,7 +9,7 @@ To create your own observations (which will lead to metrics and traces), you can
include::code:MyCustomObservation[] include::code:MyCustomObservation[]
NOTE: Low cardinality key-values will be added to metrics and traces, while high cardinality key-values will only be added to traces. NOTE: Low cardinality tags will be added to metrics and traces, while high cardinality tags will only be added to traces.
Beans of type `ObservationPredicate`, `GlobalObservationConvention`, `ObservationFilter` and `ObservationHandler` will be automatically registered on the `ObservationRegistry`. Beans of type `ObservationPredicate`, `GlobalObservationConvention`, `ObservationFilter` and `ObservationHandler` will be automatically registered on the `ObservationRegistry`.
You can additionally register any number of `ObservationRegistryCustomizer` beans to further configure the registry. You can additionally register any number of `ObservationRegistryCustomizer` beans to further configure the registry.
@ -27,10 +27,10 @@ Read more about it https://jdbc-observations.github.io/datasource-micrometer/doc
TIP: Observability for R2DBC is built into Spring Boot. TIP: Observability for R2DBC is built into Spring Boot.
To enable it, add the `io.r2dbc:r2dbc-proxy` dependency to your project. To enable it, add the `io.r2dbc:r2dbc-proxy` dependency to your project.
[[actuator.observability.common-key-values]] [[actuator.observability.common-tags]]
=== Common Key-Values === Common tags
Common key-values are generally used for dimensional drill-down on the operating environment, such as host, instance, region, stack, and others. Common tags are generally used for dimensional drill-down on the operating environment, such as host, instance, region, stack, and others.
Common key-values are applied to all observations as low cardinality key-values and can be configured, as the following example shows: Common tags are applied to all observations as low cardinality tags and can be configured, as the following example shows:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks] [source,yaml,indent=0,subs="verbatim",configprops,configblocks]
---- ----
@ -41,7 +41,7 @@ Common key-values are applied to all observations as low cardinality key-values
stack: "prod" stack: "prod"
---- ----
The preceding example adds `region` and `stack` key-values to all observations with a value of `us-east-1` and `prod`, respectively. The preceding example adds `region` and `stack` tags to all observations with a value of `us-east-1` and `prod`, respectively.
[[actuator.observability.preventing-observations]] [[actuator.observability.preventing-observations]]
=== Preventing Observations === Preventing Observations

View File

@ -1043,3 +1043,6 @@ features.testing.testcontainers.at-development-time=features.testcontainers.at-d
features.testing.testcontainers.at-development-time.dynamic-properties=features.testcontainers.at-development-time.dynamic-properties features.testing.testcontainers.at-development-time.dynamic-properties=features.testcontainers.at-development-time.dynamic-properties
features.testing.testcontainers.at-development-time.importing-container-declarations=features.testcontainers.at-development-time.importing-container-declarations features.testing.testcontainers.at-development-time.importing-container-declarations=features.testcontainers.at-development-time.importing-container-declarations
features.testing.testcontainers.at-development-time.devtools=features.testcontainers.at-development-time.devtools features.testing.testcontainers.at-development-time.devtools=features.testcontainers.at-development-time.devtools
# gh-39125
actuator.observability.common-key-values=actuator.observability.common-tags