Skip to content

Commit

Permalink
add id
Browse files Browse the repository at this point in the history
  • Loading branch information
movence committed May 3, 2024
1 parent 50b55d0 commit 2ec8183
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func NewPrometheusScraper(opts PrometheusScraperOpts) (*PrometheusScraper, error
}

params := receiver.CreateSettings{
ID: component.MustNewID(jobName),
TelemetrySettings: opts.TelemetrySettings,
}

Expand Down

0 comments on commit 2ec8183

Please sign in to comment.