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

[chore][receiver/hostmetrics, exporter/awsxray] Fix some more empty IDs #30994

Merged

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Feb 1, 2024

Description:

  • Makes the test on awsxray exporter use the exportertest.NewNopCreateSettings().ID. This is because this is the ID passed to newTracesExporter:
    traceExporter, err := newTracesExporter(exporterConfig, exportertest.NewNopCreateSettings(), mconn, registry)
    Currently, this makes no difference, but it will once the ID on NewNopCreateSettings is fixed.
  • Also fixes the hostmetrics receiver ID, just for fun :)

Link to tracking Issue: Needed for open-telemetry/opentelemetry-collector/pull/9414

@evan-bradley evan-bradley merged commit aa7e441 into open-telemetry:main Feb 1, 2024
96 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 1, 2024
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
…Ds (open-telemetry#30994)

**Description:** 

- Makes the test on awsxray exporter use the
`exportertest.NewNopCreateSettings().ID`. This is because this is the ID
passed to `newTracesExporter`:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/2f5b0bc52cd160886b4e1ee03461704d6c440a8d/exporter/awsxrayexporter/awsxray_test.go#L109
Currently, this makes no difference, but it will once the ID on
NewNopCreateSettings is fixed.
- Also fixes the hostmetrics receiver ID, just for fun :)


**Link to tracking Issue:** Needed for
open-telemetry/opentelemetry-collector/pull/9414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants