Skip to content

Commit

Permalink
Update HelperPerBuildOTELHelperFactory.java
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-richardson committed Nov 27, 2024
1 parent 4400689 commit ca30fcc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public OTELHelper getOTELHelper(BuildPromotion build) {
if (params.get(PROPERTY_KEY_ENABLED).equals("true")) {
var endpoint = params.get(PROPERTY_KEY_ENDPOINT);
SpanProcessor spanProcessor;

var otelHandler = otelEndpointFactory.getOTELEndpointHandler(params.get(PROPERTY_KEY_SERVICE));
spanProcessor = otelHandler.buildSpanProcessor(endpoint, params);

Expand Down

0 comments on commit ca30fcc

Please sign in to comment.