-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[awsemfexporter] Implement metric filtering and dimension setting #1503
[awsemfexporter] Implement metric filtering and dimension setting #1503
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1503 +/- ##
==========================================
+ Coverage 89.24% 89.29% +0.04%
==========================================
Files 354 355 +1
Lines 17417 17501 +84
==========================================
+ Hits 15544 15627 +83
- Misses 1395 1397 +2
+ Partials 478 477 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
a736ad0
to
e6c1ff3
Compare
@anuraaga @james-bebbington could you help review this PR? Thanks :) |
func (m *MetricDeclaration) Init(logger *zap.Logger) (err error) { | ||
// Return error if no metric name selectors are defined | ||
if len(m.MetricNameSelectors) == 0 { | ||
return errors.New("invalid metric declaration: no metric name selectors defined") |
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.
If a user inputs an incorrect config, is this the log message they will see? Is it enough information to fix the config issue?
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.
They would see the message "Dropped metric declaration. Error: invalid metric declaration: no metric name selectors defined."
. I think this is sufficient as it tells the user that a metric has been dropped due to no metric name selectors defined. I'm open to suggestions on how to make this better though
for _, dimSet := range m.Dimensions { | ||
concatenatedDims := strings.Join(dimSet, ",") | ||
if len(dimSet) > 10 { | ||
logger.Warn("Dropped dimension set: > 10 dimensions specified.", zap.String("dimensions", concatenatedDims)) |
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.
Just to confirm, these warnings only happen on startup? Even so we might use debug logging, I think collector generally leans towards less logging messages.
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.
That's right, this only happens on startup. In this case, would it be ok to use Warn
since it's only once on startup? I feel that this information is useful for the user to fix in case they don't enable Debug
level logging.
Just some small comments, thanks |
@kohrapha I see that you need to make some small updates, ping me when things are done. |
* Implement dimension dedup logic when adding rolledup dimensions * Remove duplicated dimensions in metric declaration
…tCwMeasurementEqual for tests
32dbc0d
to
80a42c0
Compare
@bogdandrutu Made the changes as response to @anuraaga's comments and rebased off the new changes from |
…en-telemetry#1503) * Create MetricDeclaration struct * Implement dimension dedup logic when adding rolledup dimensions (open-telemetry#6) * Implement dimension dedup logic when adding rolledup dimensions * Remove duplicated dimensions in metric declaration * Create benchmark for filtering with metric declarations and use assertCwMeasurementEqual for tests * Move helper test code to the top of file * Update dimRollup test * Aggregate dimensions and perform dedup * Minor code change * Fix test failure from merging new changes
* Bump google.golang.org/grpc in /exporter/stackdriverexporter (#1474) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.32.0 to 1.33.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.32.0...v1.33.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Run Auto Assign workflow once draft PRs are ready for review (#1481) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Bump github.com/hashicorp/go-hclog in /exporter/logzioexporter (#1467) Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.14.0 to 0.14.1. - [Release notes](https://github.com/hashicorp/go-hclog/releases) - [Commits](https://github.com/hashicorp/go-hclog/compare/v0.14.0...v0.14.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump go.opencensus.io in /receiver/splunkhecreceiver (#1455) Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.4 to 0.22.5. - [Release notes](https://github.com/census-instrumentation/opencensus-go/releases) - [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.4...v0.22.5) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [datadog exporter] Remove option to change the namespace prefix (#1483) Removes the config option "namespace" and hardcodes "otel" instead, which is what the Datadog backend expects. Additionally, stops treating the 'running' metric as a special case that didn't use the configured namespace and makes it be processsed like a regular metric. * Add metric filter option to metrics transform processor (#1447) * Add metric filter option to metrics transform processor * Address review comments and add new_name regex substitution * Remove unnecessary dependencies from tracegen (#1480) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Increase memory limits for TestLog10kDPS/OTLP to avoid failures on CircleCI (#1486) * Upgrade otel collector core, fix remove of the Set Array/Map values (#1487) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [datadog exporter] Move ProcessMetrics test to metrics package (#1488) * Move test as per CR comments * Fix getting cached value * Remove unneeded dependencies and config sections * Update aws xray receiver readme (#1485) Fix an error for the config file part. * Add @kbrockhoff as an Approver (#1492) * Add @andrewhsu as triager to the collector (#1496) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Skip processing empty metric slice in Stackdriver exporter (#1494) * Improved ECS attribute and origin translation in awsxrayexporter (#1428) * initial commit of ecs translation * reverted trace ID change * added unit tests * addressed comments and unit test issues * fixed breaking API changes * Upgrade otel collector core, use the new Span Status code (#1489) Resolves: https://github.com/open-telemetry/opentelemetry-collector/issues/1841 This uses the new Span Status Code/DeprecatedCode from core repo. Changes to Span Status are described in more details in this core PR: https://github.com/open-telemetry/opentelemetry-collector/pull/2031 * Fix the race condition issue for xray receiver (#1490) * Fix the race condition issue for xray receiver * Fix the race condition issue for xray receiver * Fix the race condition issue for xray receiver * Fix the race condition issue for xray receiver * [resourcedetectionprocessor] Initial system detector (#1405) Adds resource detection of hostname and host information when running on a bare host. **Link to tracking Issue:** #1292 **Testing:** Unit tests were added; processor was tested on a Linux and macOS host. **Documentation:** - Updated README with the information gathered by this detector - Updated examples * Release v0.14.0 (#1502) * Make + CircleCI for Code Generation (#1433) (#1501) This adds a make target 'generate' that runs 'go generate' for all modules. It also adds a circle CI check under 'lint' that makes sure the generated modules are up to date. * Bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#1484) * Bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.31.0 to 1.32.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.31.0...v1.32.2) Signed-off-by: dependabot[bot] <support@github.com> * Bump gopsutil to 3.20.10 instead Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de> * [awsemfexporter] Add check for unhandled metric data types (#1493) * Pass around config * Attach logger to Config * Add check for unhandled data type * Format code * Upgrade otel collector core, partially AWS tests for the new summary support (#1511) Filed https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/1510 for AWS folks to fix the test in the way they want. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Stop using internaldata (#1429) * Remove use of internaldata as much as possible. Map source and sourcetype to exported events. * Only translate to internal data once * Refactor the metric mapping to make it easier to read * Map manually spans * code review comments * Cache data points into a variable * Add more nil checks and variable assignments to cache iterating over slices * code review changes * intitialize slice * assign variable when iterating * Add link and event to span to get more test coverage * Add more tests to check if a metric has nil elements * Add tests for sums * Add more tests for complete coverage, add fields for spans * Fix trace export test * more coverage for nil points. * comment out untestable code to get past coverage threshold, to be uncommented in a separate PR once core is updated * Revert "comment out untestable code to get past coverage threshold, to be uncommented in a separate PR once core is updated" This reverts commit a8552c0959461fcd832426db63d1d04a6af1246c. * Add tests for nil metric * Bring to compat with 0.14 API * Bump google.golang.org/grpc in /exporter/azuremonitorexporter (#1522) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/hashicorp/go-hclog in /exporter/logzioexporter (#1531) Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.14.1 to 0.15.0. - [Release notes](https://github.com/hashicorp/go-hclog/releases) - [Commits](https://github.com/hashicorp/go-hclog/compare/v0.14.1...v0.15.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1529) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/grpc in /processor/routingprocessor (#1527) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/api in /exporter/stackdriverexporter (#1526) Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.34.0 to 0.35.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.34.0...v0.35.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/grpc in /exporter/stackdriverexporter (#1525) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1524) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1518) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1519) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/grpc in /exporter/honeycombexporter (#1521) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aliyun/aliyun-log-go-sdk (#1523) Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk) from 0.1.15 to 0.1.16. - [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases) - [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.15...v0.1.16) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Make buffered channel to avoid goroutines leak in groupbytraceprocessor (#1505) * Add license * remove goleak * Restore go.sum to the initial state * zookeeperreceiver: Add initial implementation (#1362) * zookeeperreceiver: Add scraper logic and initial metrics * Use simple metrics helper * Address feedback * Initial metric helper properly with resource attributes * Add ability to configure and scrape counters with instances (#1229) * Upgrade otel collector core, fix changes after non null Resource (#1513) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1530) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/grpc from 1.33.1 to 1.33.2 in /tracegen (#1528) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.33.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1516) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1520) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.20 to 1.35.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.20...v1.35.23) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * JMX Receiver: add implicit OTLP Receiver and remove Prometheus (#1396) * jmx: remove prometheus and update config * jmx: add implicit OTLP receiver * jmx: comma separate build tags and improve subprocess test coverage * jmx: Match OTLP exporter settings * Trace ID aware load-balancing exporter - 3/4 (#1412) * Added the backend resolver * Added the metrics definitions **Link to tracking Issue:** Partially solves open-telemetry/opentelemetry-collector#1724, next step after #1349 **Testing:** unit tests **Documentation:** godoc Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Remove OnDroppedSpans callback for tailsampling (#1540) Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Use OTLP Metrics type instead of OpenCensus type [aws-ecs-container-metrics-receiver] (#1536) * use OTLP metrics type instead of opencensus Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * update unit tests to make compatible with pdata.Metrics Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * pr feedback: populate attr value direct instead of copying from a map * Allow passthrough of index events from individual events (#1514) * Allow passthrough of index events from individual events * Add test to complete coverage * Memcached Receiver Skeleton (#1414) This is the start of a basic memcached receiver. It scrapes some basic metrics from a memcached instance and sends them along. The primary test of the metric generation logic is in the integration test due to the relative opacity of the memcached protocol and the lack of any preexisting mock (the integration test uses a real memcached instance via Docker containers). There are only five basic metrics to start with but this can be easily expanded with this framework. * Fix lint errors, fix CI. Race condition between PRs (#1545) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Expose tail sampling processor metrics (#1533) * Expose tailsamplingprocessor metrics * Initialize tailsampling metrics in factory * Ensure tailsampling metrics are registered only once * Replace traceKey with traceID (#1544) Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Enable unconvert linter, fix errors (#1546) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * JMX Receiver: update receiver as unstable component and correct properties (#1543) * jmx: update exporter properties for latest changes * Add jmx to unstable components * Change default behaviour of Windows perf counters receiver 1 (#1537) * Don't set "_Total" label if only total is requested * Update receiver/windowsperfcountersreceiver/internal/pdh/pdh_test.go Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> Co-authored-by: Bogdan Drutu <lazy@splunk.com> Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> * Change default behaviour of Windows perf counters receiver 2 (#1538) * Log a warning instead of crashing if perf counters cannot be loaded on startup * Update warning message * Update windowsperfcounters_scraper_test.go * Update to stanza v0.13.0 (#1535) * Update to stanza v0.13.0 * Add error condition coverage * zookeeperreceiver: Add more metrics and integration tests (#1404) * zookeeper: Add more metrics * zookeeperreceiver: Add integration test * Enable commented tests and address feedback * Upgrade otel collector core, fix remove of the legacy metrics (#1549) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Enable resource attributes to metric label conversion option (#1552) Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * SignalFx Receiver: Switch to pdata.Metrics (#1388) This excises all of the old OpenCensus model usage from the signalfx receiver and replaces it with pdata structures. * Fix histogram mapping to Splunk metrics store (#1512) * Fix histogram mapping to Splunk metrics store * cover invalid histogram values * splunkhecexporter: Fix lint (#1555) * jmx: Add endpoint config field (#1550) Breaking change: replaces `service_url` config field for updated `endpoint` * add attributes and Unit test to AWS ECS and EKS (#1557) * fix getting started links (#1556) * fix getting started link in readme Signed-off-by: Andrew Hsu <xuzuan@gmail.com> * fix getting started link in changelog Signed-off-by: Andrew Hsu <xuzuan@gmail.com> * zookeeper: Rename label to be less ambiguous (#1553) * SignalFx receiver: pdata Tweaks (#1554) - Avoid unnecessary initialization - Avoid checking passthrough token if rm is nil - Also fixing Splunk HEC exporter lint error blocking this * SignalFx Exporter: Convert to OTLP (#1375) This converts almost everything in this exporter to fully use native OTLP data structures instead of the old OpenCensus models. There is one test fixture that still uses OC due to the sheer size of it, but it is relatively simple data so the conversion is not complex. * Enable zookeeper receiver (#1558) * Upgrade otel collector core, remove old gnostic hack (#1559) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [awsemfexporter] Implement metric filtering and dimension setting (#1503) * Create MetricDeclaration struct * Implement dimension dedup logic when adding rolledup dimensions (#6) * Implement dimension dedup logic when adding rolledup dimensions * Remove duplicated dimensions in metric declaration * Create benchmark for filtering with metric declarations and use assertCwMeasurementEqual for tests * Move helper test code to the top of file * Update dimRollup test * Aggregate dimensions and perform dedup * Minor code change * Fix test failure from merging new changes * Trace ID aware load-balancing exporter - 4/4 (#1542) Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1566) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/prometheus/common in /receiver/simpleprometheusreceiver (#1569) Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.14.0 to 0.15.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](https://github.com/prometheus/common/compare/v0.14.0...v0.15.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aliyun/aliyun-log-go-sdk (#1568) Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk) from 0.1.16 to 0.1.17. - [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases) - [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.16...v0.1.17) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/honeycombio/libhoney-go in /exporter/honeycombexporter (#1571) Bumps [github.com/honeycombio/libhoney-go](https://github.com/honeycombio/libhoney-go) from 1.14.1 to 1.15.0. - [Release notes](https://github.com/honeycombio/libhoney-go/releases) - [Changelog](https://github.com/honeycombio/libhoney-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/honeycombio/libhoney-go/compare/v1.14.1...v1.15.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1572) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/google/go-cmp in /exporter/jaegerthrifthttpexporter (#1579) Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1580) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/google/go-cmp in /exporter/sentryexporter (#1581) Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1578) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/google/go-cmp in /processor/metricstransformprocessor (#1576) Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1575) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/prometheus/common in /receiver/prometheusexecreceiver (#1574) Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.14.0 to 0.15.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](https://github.com/prometheus/common/compare/v0.14.0...v0.15.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/observiq/stanza in /receiver/stanzareceiver (#1573) Bumps [github.com/observiq/stanza](https://github.com/observiq/stanza) from 0.13.0 to 0.13.1. - [Release notes](https://github.com/observiq/stanza/releases) - [Changelog](https://github.com/observIQ/stanza/blob/master/CHANGELOG.md) - [Commits](https://github.com/observiq/stanza/compare/v0.13.0...v0.13.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1577) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.27. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.27) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/google/go-cmp in /exporter/honeycombexporter (#1570) Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix version for carbonexporter, avoid dependabot upgrades like #1517 (#1560) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Enable windows perf counters receiver (#1539) Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> * [exporters/signalfx_correlation] Add ability to translate host dimension (#1561) If we're exporting using dimension `host` instead of `host.name` need to use the same in the correlation exporter. This will be removed once translations are removed from the metrics exporter. * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1598) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.28. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.28) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump k8s.io/client-go in /extension/observer/k8sobserver (#1596) Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/kubernetes/client-go/releases) - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.19.3...v0.19.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/klauspost/compress in /exporter/honeycombexporter (#1599) Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.11.2 to 1.11.3. - [Release notes](https://github.com/klauspost/compress/releases) - [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml) - [Commits](https://github.com/klauspost/compress/compare/v1.11.2...v1.11.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1607) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.28. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.28) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1605) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.28. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.28) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump k8s.io/api from 0.19.3 to 0.19.4 in /processor/k8sprocessor (#1600) Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/kubernetes/api/releases) - [Commits](https://github.com/kubernetes/api/compare/v0.19.3...v0.19.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1604) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.28. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.28) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1593) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.28. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.28) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * AWSEMFExporter - Adding SummaryDataType, Remove MinMax from Histogram (#1584) * Adding SummaryDataType, Remove MinMax from Histogram * Not adding IntHistogram in this revision * Format the comments, replace tabs with spaces * Bump k8s.io/client-go from 0.19.3 to 0.19.4 in /processor/k8sprocessor (#1602) Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/kubernetes/client-go/releases) - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.19.3...v0.19.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump k8s.io/client-go in /receiver/simpleprometheusreceiver (#1592) Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/kubernetes/client-go/releases) - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.19.3...v0.19.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1617) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.28 to 1.35.29. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.28...v1.35.29) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1616) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.29. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.29) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1615) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.28 to 1.35.29. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.28...v1.35.29) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1612) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.29. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.29) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1614) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.27 to 1.35.29. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.27...v1.35.29) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add aws prometheus remote write exporter (#1497) * added aws prometheus remote write exporter * added copyrights * updated documentation * fixed CI issues * added aws prometheus remote write exporter * added copyrights * updated documentation * fixed CI issues * modified to include external labels * added reference to external validate and sanitize function * embed prw exporter config directly * addressed some pr comments * removed invalid nil test case * used new customer round tripper in http client config * remoed debug logs and added auth tests * fixed lint issue * added licence to auth_test * addressed pr comments * addressed some PR comments * simplified default config function * addressed many Go convention changes * increased test coverage * simplified factory and modified config tests to match * Set options.UserAgent so that the OpenCensus exporter does not overri… (#1620) * Set options.UserAgent so that the OpenCensus exporter does not override the UA * Add comments to clarify how user agent settings are used * Fix comments * Update newrelicexporter to use pdata for traces (#1587) * Update newrelicexporter to use pdata for traces * Include instrumentation info * Update transformer Rely on the service name being set in the resource or the upstream span instead of trying to parse something and add it to the ServiceName field. Fix tests * Update transformer test * Add tests for Span transform errors * Abstract common attribute generation * Add test for inst transform * Lint var names * Do not try to export partial spans * Update tests Add test for no trace/span id from exporter. Add test for merge attrs error. Add factory tests. * Add combine action (#1506) * Add combine action * Address review comments * Update core dependencies (#1622) * jmxreceiver: address flake issues (#1618) * jmxreceiver: read from stdout/err buffer * jmxreceiver: match error via substring for wider platform support * jmxreceiver: bump shutdown timer failure threshold * Filter only for the main tag the integration tests (#1508) Right now when we add the release tags ~40 tags, they will trigger builds for all of them which are duplicated, and we want to trigger the build only for the main tag. Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com * [ecs-metrics-receiver] extract cluster name from ARN and rename some constants (#1626) Metadata received from Fargate gives us ClusterARN instead of ClusterName. So, This change extracts the ClusterName if we receive a ClusterARN. It utilizes our existing func (renamed it). Also, renamed some resource names matching with semantic conventions. Once semantic convention for AWS PR is merged, we can easily change them without introducing any customer facing changes. * Dynatrace metrics exporter (#1589) * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1636) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.29 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.29...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1633) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.29 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.29...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1634) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.29 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.29...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/observiq/stanza in /receiver/stanzareceiver (#1635) Bumps [github.com/observiq/stanza](https://github.com/observiq/stanza) from 0.13.1 to 0.13.2. - [Release notes](https://github.com/observiq/stanza/releases) - [Changelog](https://github.com/observIQ/stanza/blob/master/CHANGELOG.md) - [Commits](https://github.com/observiq/stanza/compare/v0.13.1...v0.13.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1637) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.29 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.29...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1638) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.29 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.29...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1639) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.28 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.28...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump k8s.io/* from 0.19.3 to 0.19.4 (#1625) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1632) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.31. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.31) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Extract function for parsing Java stacktraces in preparation of supporting more languages. (#1563) * Add option to specify case of label values added based on regexp submatches when performing combine action (#1640) * elasticexporter: improve handling of span status (#1591) * elasticexporter: improve handling of span status If the status code is unset (the default), we will no longer set the "result" for Elastic transaction events. If the status code is set (OK or Error), we will set the "result" for transactions and the "outcome" for both transactions and spans. This can be used for error rate calculations. * Run `make generate` * elasticexporter: improve test coverage Add a new test to fully test translation of span status to transaction result and outcome. * Upgrade otel collector core to v0.15.0, fix remove of the AttributesHostHostname (#1641) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Release v0.15.0 (#1642) * Remove samplerate property from honeycomb exporter (#1583) * remove samplerate property * re-add sampleRate to config * Add span events to New Relic exporter (#1643) * Add span events to New Relic exporter * Fix golint issue * Apply suggestions from code review Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * [awsemf-exporter] add placeholder support in logGroup and logStream config (#1623) * add placeholder support in logGroup and logStream config Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * add unit tests, refactoring for performance, and update README Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * Added Elastic Beanstalk Resource detector (#1585) * initial eb resource detector commit * lint * addressed comments * tests * Nginx Stub Status Receiver (#1582) This is a receiver for the Nginx stub_status module output It collects all of the metrics available from that module. * Upgrade otel collector core, fix remove zookeeper to use helper for scraper (#1649) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Upgrade otel collector core, fix contrib after scraper helpers moved in core (#1652) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [sumologicexporter] Initialise Sumo Logic exporter (#1565) * Init Sumo Logic's exporter * Update configuration to reflect designed functionalities * Add README.md * Fix lint * Add config verification * Use assert.EqualError * Use confighttp.HTTPClientSettings to provide endpoint and timeout * Remove Compress configuration option To disable compression empty string ("") should be used * Update exporter/sumologicexporter/README.md Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> * Update go modules * Fix default MaxRequestBodySize * Add sumologicexporter to CODEOWNERS * Add sumologicexporter to dependabot * Fix due to review * Bump collector to v0.14.1-0.20201112191733-c6d9a2be2223 Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1653) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1656) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1655) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1658) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1659) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1660) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.32. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.32) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * awsemf-exporter: replace pattern "{{ }}" with "{ }" (#1661) * awsemf-exporter: replace pattern {{}} with {} Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * fix typo in test Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1669) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1668) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1667) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1666) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1673) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/golangci/golangci-lint from 1.32.2 to 1.33.0 (#1675) Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.32.2 to 1.33.0. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.32.2...v1.33.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1674) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.32 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.32...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1664) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.31 to 1.35.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.31...v1.35.33) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Rename batchpertrace go files, main is usually reserved for cmd package (#1682) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Update loadbalancingexporter to use batchpertrace library from head (#1665) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Remove always zero return value from signalfx conversion. (#1671) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Remove calls to deprecated exportertest package (#1663) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [awsemfexporter] Add label matching filtering rule (#1619) * Implement label matcher struct and matching logic * Implement label matching in metric declaration matching logic * Update comment * Change lesser important log outputs to debug level * Make regex attribute mandatory * Format code * Add test to metric_translator_test.go * Make label_matcher a subsection * Perform metric matching by metric name before labels * Upgrade otel collector core, fix scraperhelper braking changes (#1686) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [sumologicexporter] Add filter structure to the Sumo Logic exporter (#1681) * Add filter structure to the Sumo Logic exporter * Use helper to convert attribute to string * Fix due to unit tests * Fix function signatures * Do not export fields type * loadbalancingexporter: add Start for exporters (#1687) * Add Start for exporters * Lint * Remove changes for sorting in onBackendChange * Add sort in static resolver (#1692) * Add helper library that splits an incoming data based on an attribute in the Resource (#1694) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * exporter/datadog: Issue 1684 fix, update status code handling (#1691) * exporter/datadog: update status code handling * exporter/datadog: clean up formatting and imports * exporter/datadog: update tests * exporter/datadog: improve error constant handlinig * exporter/datadog: add tests for status code unset * Update honeycomb exporter to use internal data format (#1689) * Update honeycomb exporter to use internal data format This has several breaking changes to the events produced by the exporter - service_name -> service.name - process.hostname -> host.name - process.pid -> opencensus.pid (for census users) - opencensus.start_timestamp -> opencensus.starttime - has_remote_parent was removed - source_format was removed New features - other span_kinds are now supported (consumer, producer, internal) * lint * use pdata status codes instead of OC add test coverage add library information to events * fix import order * add test coverage * [loadbalancingexporter]Allow specifying port when using DNS resolver (#1650) * [loadbalancingexporter]Allow specifying port when using DNS resolver * Edit README message for newly added port field * Fix that dns resolver won't do periodic checks (#1678) Signed-off-by: He Zheng <ranchardzheng@gmail.com> * Upgrade otel collector core, fix changes for non-nullable metric types (#1696) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * AlibabaCloud LogService Exporter - Add logs exporter (#1609) Add logs exporter for AlibabaCloud LogService Exporter **Testing:** Unit tests added for logs exporter. Now code coverage is 99%. Manually tested, sending to a LogService's instance. **Documentation:** <Describe the documentation added.> No need to update readme. * Add instructions for configuring the DT exporter (#1701) * Upgrade otel collector core, fix changes for non-nullable InstrumentationLibrary (#1702) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Exporter/Datadog: improve trace exporter performance (#1706) The cpu and memory usage of the tracer under heavy load is higher than where we'd like it to be, after investigating some profiles we found some areas where we could improve performance by re-using some components for generating statistics and improving trace translation logic Testing: Updated Unit tests * [datadogexporter] Further improvements to traces exporter performance (#1707) - Predefine map capacity wherever possible - Use a single HTTP client for all trace edge connections - Use a single sublayer calculator for all APM stats calculations (one per `pushTraceData` since it is not thread-safe otherwise) **Link to tracking Issue:** aws-observability/aws-otel-collector#179 **Testing:** - Updated unit tests - Tested in an end to end environment * Fix empty traces in X-Ray console (#1709) * Fix empty traces in X-Ray console * Add unit test for non server span kind without parent id * Bump github.com/aws/aws-sdk-go in /exporter/awsxrayexporter (#1718) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /processor/resourcedetectionprocessor (#1716) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /receiver/awsxrayreceiver (#1717) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 in /receiver/stanzareceiver (#1719) Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/go-yaml/yaml/releases) - [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/datadogexporter (#1721) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /exporter/awsemfexporter (#1720) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go in /internal/awsxray (#1714) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add alibabacloudlogserviceexporter code owner (#1722) please add my partner @kongluoxing as alibabacloudlogserviceexporter's code owner, we will maintain the exporter together * Bump github.com/aws/aws-sdk-go in /internal/awsxray/testdata/sampleapp (#1715) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Upgrade otel collector core, fix changes for non-nullable AttributeValue (#1724) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Add option to only send metadata (#1723) This is useful in agent-collector setups where there is another exporter forwarding telemetry data to a second Collector with the Datadog exporter running * [splunkhecexporter] Remove unnecessary return value from logDataToSplunk (#1726) * [splunkhecexporter] Remove unnecessary return value from logDataToSplunk Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Remove usage of the dropped logs Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * [signalfxexporter] Split incoming data requests by access token before enqueuing (#1727) * [signalfxexporter] Split incoming data requests by access token before enqueuing Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Fix imports in go.mod Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Fix logs to benefit of the split Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Fix imports in signalfx receiver Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * More fixes Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Even more mods Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * …
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.35.2 to 1.36.0. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.35.2...v1.36.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description
Problem
Currently, the EMF Exporter does not provide any configuration for defining the dimensions for exported metrics or which metrics should be exported. All incoming metrics are exported with their label set as the exported dimension. A few problems arise, including:
Solution
This PR solves both issues by defining a new
metric_declarations
(optional) attribute that allows the user to define the dimensions for exported metrics and filter by metric names. Specifically, themetric_declarations
is a list ofmetric_declaration
s with the following API spec:<metric_declaration>
Each metric declaration characterizes a rule to be used to set dimensions for certain incoming metrics, filtered by their metric names.
Example config
Note that the
metric_declarations
attribute is optional. If this section is left out of the config file, the exporter defaults to exporting all labels as a dimension set, as is done currently. Each incoming metric is matched against each metric declaration rule. If it matches at least one of themetric_name_selectors
, the corresponding rule is applied. Each dimension set specified by the rule is applied to the exported metric if and only if the metric has all the dimensions in that dimension set.All of the dimension sets across all metric declarations are aggregated together and applied to the metric. In other words, if a metric matches multiple rules, all valid dimensions specified by those rules will be put into a single list of dimension sets. Additionally, any rolled-up dimensions are also added to this set. De-duplication is applied across the final list of dimension sets.
De-duplication functionality
We also help the user perform de-duplication of dimensions. 2 dimension sets are considered duplicate if they contain the same set of unique dimensions (order is irrelevant). There are 3 cases for duplicated dimensions:
['dim1', 'dim2', 'dim1']
->['dim1', 'dim2']
[['dim1', 'dim2'], ['dim2', 'dim1']]
->[['dim1', 'dim2']]
Documentation
The documentation for the AWS EMF Exporter was updated to include the new
metric_declarations
attribute and its API spec.Testing
go_goroutines
:go_memstats_alloc_bytes
:go_memstats_alloc_bytes_total
:go_info
: