-
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
Enable resource attributes to metric label conversion option #1552
Conversation
Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com>
Tagging @mxiamxia @shaochengwang @wyTrivail for visibility. |
Codecov Report
@@ Coverage Diff @@
## master #1552 +/- ##
==========================================
+ Coverage 89.40% 89.41% +0.01%
==========================================
Files 354 354
Lines 17313 17324 +11
==========================================
+ Hits 15478 15490 +12
+ Misses 1372 1371 -1
Partials 463 463
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Ty!
* Add headers in HTTPClientSettings * add helper * Revert "add helper" This reverts commit 394f94f8e1c5dae11d67166030fcb718da665862. * remove testutil_test * add interceptor only when there are headers * add documentation fix TestAllHTTPClientSettings
* Update license-check to ignore all vendor dirs * Remove vendor path exclude from license-check find
Description:
Recently a PR 2060 was merged in the core
opentelemetry-collector
repo for converting resource attributes to metric labels. This was added as a utility option in theexporterhelper
module so that any exporter can easily opt-in. We need to enable this settings forawsemf
exporter so that customer can enable it if they want.This is a required option for AWS ECS Container Metrics customers.
This change introduces a new function for creating the
componenet.MetricsExporter
which utilizes theexporterhelper
module withresource_to_telemetry_conversion
option as well as our pre-existingNew()
function.Link to tracking Issue:
#1551
Testing:
It passes all the existing unit tests.
Added new unit tests for testing the new changes.
Manually tested for e2e experience.
Documentation:
README updated.