Skip to content

Commit

Permalink
Added a getter to OTLA for ObservationRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jun 12, 2023
1 parent 2f51778 commit 73d7d3d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ public void setObservationRegistry(ObservationRegistry observationRegistry) {
this.observationRegistry = observationRegistry;
}

/**
* Returns the provided {@link ObservationRegistry}.
* @return observation registry
*/
public ObservationRegistry getObservationRegistry() {
return this.observationRegistry;
}

/**
* Return the singleton instance of this {@link ObservationThreadLocalAccessor}.
* @return instance
Expand Down

0 comments on commit 73d7d3d

Please sign in to comment.