-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver:awsfirehosereceiver] added support for OTLP v1.0.0 format #34982
[receiver:awsfirehosereceiver] added support for OTLP v1.0.0 format #34982
Conversation
|
1cfd813
to
ec9b6fc
Compare
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
receiver/awsfirehosereceiver/internal/unmarshaler/otelmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
842dbe7
to
c910564
Compare
de3e1b3
to
12aedd1
Compare
receiver/awsfirehosereceiver/internal/unmarshaler/otlpmetricstream/unmarshaler.go
Outdated
Show resolved
Hide resolved
12aedd1
to
a197824
Compare
e8a6e7a
to
9fcb7aa
Compare
fa0ec51
to
a5ddedd
Compare
a5ddedd
to
bb3fcd1
Compare
bb3fcd1
to
a84f79d
Compare
@Aneurysm9 Thanks for approving the PR but had to rebase due to conflicting upstream changes. |
@mx-psi could you please help approve and merge this PR? |
Looks like you need to regenerate the code by running |
a84f79d
to
c8b3a58
Compare
c8b3a58
to
f3fb95c
Compare
@mx-psi Thanks! Ran |
@mx-psi Checks are passed, could you please help merge the PR? Thanks! |
Description: Added support for OpenTelemetry 1.0.0 format
Current implementation for
awsfirehosereceiver
supports only JSON format.Added support to handle OpenTelemetry 1.0.0 format.
Standard OpenTelemetry receiver does not work as AWS Cloudwatch metrics are streamed via AWS Firehose stream. So the actual OpenTelemetry data is embedded in AWS Firehose records.
This can be enabled in configuration by setting
record_type
tootlp_v1
. (Added suffix v1 as AWS CloudWatch metrics streaming also supports OpenTelemetry 0.7.0 format).Unmarshaler
under new packageotlpmetricstream
.defaultMetricsUnmarshalers
infactory.go
to create instance of new Unmarshaler.availableRecordTypes
to support the OpenTelemetry 1.0.0 format.Testing: Added test cases to test new Unmarshler to test record unmarshaling.
Documentation: Updated readme to document new
record_type
.