Skip to content

Commit

Permalink
Add note to Observation#observationConvention about setting the conve…
Browse files Browse the repository at this point in the history
…ntion
  • Loading branch information
jonatan-ivanov committed Nov 23, 2022
1 parent 3f0ca2f commit 22a81f0
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -414,7 +414,9 @@ default boolean isNoop() {

/**
* Sets an observation convention that can be used to attach key values to the
* observation. WARNING: You must set the ObservationConvention to the Observation
* observation. Implementations should only set the convention when it supports (see:
* {@link ObservationConvention#supportsContext(Context)}) the current
* {@link Context}. WARNING: You must set the ObservationConvention to the Observation
* before it is started.
* @param observationConvention observation convention
* @return this
Expand Down

0 comments on commit 22a81f0

Please sign in to comment.