Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument exporters #14

Merged
merged 3 commits into from
Oct 18, 2022
Merged

Instrument exporters #14

merged 3 commits into from
Oct 18, 2022

Conversation

jaronoff97
Copy link

@jaronoff97 jaronoff97 commented Oct 17, 2022

Description:

This PR adds OpenTelemetry instrumentation for the obsreport exporter. This closely follows the previous PR from @paivagustavo for the receiver (seen here)

Link to tracking Issue: Part of open-telemetry#816

Testing: This was tested by running the otel collector locally with the demo client and server. It successfully ran with the gate enabled and disabled, emitting the same metrics.

@jaronoff97 jaronoff97 marked this pull request as ready for review October 18, 2022 19:21
Copy link

@paivagustavo paivagustavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 looking good

@@ -16,6 +16,13 @@ package obsreport // import "go.opentelemetry.io/collector/obsreport"

import (
"context"
"go.opentelemetry.io/collector/featuregate"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure this is formatted correctly,

obsreport/obsreport_exporter.go Outdated Show resolved Hide resolved
@jaronoff97 jaronoff97 merged commit 5a37de0 into main Oct 18, 2022
@jaronoff97 jaronoff97 deleted the instrument-exporters branch October 18, 2022 21:41
jaronoff97 added a commit that referenced this pull request Oct 18, 2022
* Allow for dual instrumentation

* remove log

* Add back mutators
moh-osman3 pushed a commit that referenced this pull request Nov 4, 2022
* Allow for dual instrumentation

* remove log

* Add back mutators
jaronoff97 added a commit that referenced this pull request Dec 14, 2022
* Allow for dual instrumentation

* remove log

* Add back mutators
jaronoff97 added a commit that referenced this pull request Dec 14, 2022
* Allow for dual instrumentation

* remove log

* Add back mutators
jaronoff97 added a commit that referenced this pull request Dec 14, 2022
* Allow for dual instrumentation

* remove log

* Add back mutators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants