We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0ca2f commit 22a81f0Copy full SHA for 22a81f0
micrometer-observation/src/main/java/io/micrometer/observation/Observation.java
@@ -414,7 +414,9 @@ default boolean isNoop() {
414
415
/**
416
* Sets an observation convention that can be used to attach key values to the
417
- * observation. WARNING: You must set the ObservationConvention to the Observation
+ * observation. Implementations should only set the convention when it supports (see:
418
+ * {@link ObservationConvention#supportsContext(Context)}) the current
419
+ * {@link Context}. WARNING: You must set the ObservationConvention to the Observation
420
* before it is started.
421
* @param observationConvention observation convention
422
* @return this
0 commit comments