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

otel col contrib v0.61.0 #2520

Closed
wants to merge 644 commits into from
Closed

Conversation

arun-shopify
Copy link

In this branch all our changes have been cherry-picked and merged into the v0.61.0.

As with the previous port, to merge this we need to first force-push main to v0.56.0, and then reset the base branch of this PR to main via the handy little widget in the GitHub UI (it's currently pointing to a temporary branch pointing to the v0.53.0 tag).
#1709
#2506

bogdandrutu and others added 30 commits September 5, 2022 08:15
…s insert in new map (open-telemetry#13861)

Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
* First implementation of service graph processor.

The service graphs processor is a traces processor that builds a map representing the interrelationships between various services in a system.
The processor will analyse trace data and generate metrics describing the relationship between the services.
These metrics can be used by data visualization apps (e.g. Grafana) to draw a service graph.

Some parts of this processor are ported from grafana/tempo.

* Add license note in all files.

Code in servicegraphprocessor/internal/store is being relicensed from AGPLv3 (from grafana/tempo) to Apache v2,
with the permission of Grafana Labs.

* Add changelog entry

* Fix imports

* Add connection type improvements

Also adds a caching logic to limit memory usage

* Overwrite series during update

* Update README

* Record failed metrics

* Fix changelog entry

* Update mod

* Lint to v0.58.0

* Address review comments

* Implement store expiration

* Use time.After

* Address missed review comments

* Call Expire in test

* Add entry to codeowners

* Add version

* Add comment to tryEvictHead loop
…etry#12626)

Add CODEOWNERS for `pkg/translator/prometheusremotewriteexporter`

Co-authored-by: Alex Boten <[email protected]>
…tributes by default (open-telemetry#13812)

* transition postgresqlreceiver to use resource attributes by default
…by making "operation" an attribute (open-telemetry#13445)

* simplify blockio metric structure in metadata.yml + generate

* fix typo in prev commit + generate

* simplify receiver since operation is an attribute now

* change expected metrics to align with operation as an attribute

* changelog

* go generate after main changes altered it
…span count for decision (open-telemetry#13386)

* Fixes SpanCount sampler not using the correct count for decision

Signed-off-by: Miguel Alexandre <[email protected]>

* Add changelog

Signed-off-by: Miguel Alexandre <[email protected]>

* Fix test to make the correct decision

Signed-off-by: Miguel Alexandre <[email protected]>

* Reference issue in changelog

Signed-off-by: Miguel Alexandre <[email protected]>

* Keep previous tests, renamed to make sense

Signed-off-by: Miguel Alexandre <[email protected]>

Signed-off-by: Miguel Alexandre <[email protected]>
…pen-telemetry#13867)

* [chore][processor/routingprocessor] Simplify exporters registration.

* [feedback] Use dedicated methods for default and route exporters.
…y#13897)

dependabot updates Mon Sep  5 23:12:04 UTC 2022
Bump cloud.google.com/go/spanner from 1.37.0 to 1.38.0 in /receiver/googlecloudspannerreceiver
Bump github.com/DataDog/agent-payload/v5 from 5.0.28 to 5.0.29 in /exporter/datadogexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/awscloudwatchlogsexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/awsemfexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/awskinesisexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/awsxrayexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/datadogexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /exporter/kafkaexporter
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /extension/observer/ecsobserver
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/awsutil
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/cwlogs
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/k8s
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/proxy
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/xray
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/aws/xray/testdata/sampleapp
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /internal/metadataproviders
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /processor/resourcedetectionprocessor
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /receiver/awscontainerinsightreceiver
Bump github.com/aws/aws-sdk-go from 1.44.90 to 1.44.91 in /receiver/awsxrayreceiver
Bump github.com/aws/aws-sdk-go-v2 from 1.16.13 to 1.16.14 in /extension/sigv4authextension
Bump github.com/aws/aws-sdk-go-v2/config from 1.17.4 to 1.17.5 in /extension/sigv4authextension
Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.17 to 1.12.18 in /extension/sigv4authextension
Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.16 to 1.16.17 in /extension/sigv4authextension
Bump github.com/jackc/pgx/v4 from 4.17.1 to 4.17.2 in /extension/storage
Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.489 to 1.0.491 in /exporter/tencentcloudlogserviceexporter
Bump gonum.org/v1/gonum from 0.11.0 to 0.12.0 in /pkg/stanza
Bump gonum.org/v1/gonum from 0.11.0 to 0.12.0 in /receiver/statsdreceiver

Co-authored-by: bogdandrutu <[email protected]>
* fix panic for gauge data types in transformprocessor

* add changelog entry
…necessary copies (open-telemetry#13908)

Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
…ector, fix error orders (open-telemetry#13912)

Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
* Fixed the "Getting In touch" URL

* Updated "Getting In touch" link with slack channel

* Create fix-broken-link.yaml

updating changelog

* Delete fix-broken-link.yaml

removed entry in changelog
…#13909)

[chore] fixtestsinsert: replace Insert with Upsert.

Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
…metry#13854)

[processor/redaction] Do not ignore existing redaction attributes

Update redaction attributes in case if data sent through the processor more than once. Existing attributes must be updated, not overridden or ignored.
…-telemetry#13920)

The resource customizer is always applied on empty resource, so it's save to replace InsertString with UpsertString
…pen-telemetry#13918)

signalfx receiver doesn't create resource attributes from sfx datapoint or event conversion. So it's save to use Map.Upsert instead of Map.Insert
bogdandrutu and others added 25 commits September 27, 2022 15:27
…elemetry#14532)

* [exporter/awsemfexporter]Fix regression in dimension roll up

* Add changelog

* Fix linting errors

* Improve readability

* Improve unit tests
…t component. (part4) (open-telemetry#14562)

* [chore] Change receiver config tests to unmarshal config only for that component. (part4)

- [x] pulsarreceiver
- [x] rabbitmqreceiver
- [x] redisreceiver
- [x] riakreceiver
- [x] saphanareceiver
- [x] sapmreceiver
- [x] signalfxreceiver
- [x] simpleprometheusreceiver
- [x] skywalkingreceiver
- [x] solacereceiver

* fixup! [chore] Change receiver config tests to unmarshal config only for that component. (part4)
…t component. (part5) (open-telemetry#14563)

- [x] splunkhecreceiver
- [x] sqlqueryreceiver
- [x] sqlserverreceiver
- [x] statsdreceiver
- [x] syslogreceiver
- [x] tcplogreceiver
- [x] udplogreceiver
- [x] vcenterreceiver
- [x] wavefrontreceiver
- [x] windowsperfcountersreceiver
- [x] zipkinreceiver
- [x] zookeeperreceiver
…t component. (Part 2) (open-telemetry#14476)

[chore] Change receiver config tests to unmarshal config only for that component. (part2)

- [x] hostmetricsreceiver
- [x] iisreceiver
- [x] influxdbreceiver
- [x] jmxreceiver
- [x] journaldreceiver
- [x] k8sclusterreceiver
- [x] k8seventsreceiver
- [x] kafkametricsreceiver
- [x] kafkareceiver
- [x] kubeletstatsreceiver
- [x] prometheusexecreceiver
…lemetry#14553)

Operators are no longer unmarshaled based on json or yaml libaries,
so do not require the associated tags.
…n-telemetry#14571)

* [exporter/datadog] Bug fix for json logs

* PR comments - remove release notes
…s in order to be compliant with SplunkCloud (open-telemetry#14469)

* Updates all StatusAccepted on Splunk Receiver

* Fixes all tests by asserting StatusOK instead of StatusAccepted

* Adds CHANGELOG entry for Splunk HEC Receiver changes regarding http status codes

* Update splunkhecreceiver-http-status-code-return.yaml

Co-authored-by: Bogdan Drutu <[email protected]>
…pen-telemetry#14338)

[processor/transform] Added the Int function to the transform processor (open-telemetry#11810)
Because of the weird^H^H^H^H^Hinteresting structure of the contrib repo,
we have an overwhelming amount of dependabot noise for this. Especially
since we're behind upstream.

We could turn this off entirely, I suppose. Or - we can modify the
Makefile and just make this noise monthly rather than weekly.

This commit is the result of modifying the `Makefile` to do monthly
updates instead of weekly, as well as the result of running `make gendependabot`.
* wip cache metric from spanmetrics

* testing

* testing

* WIP: collecting metrics

* metric name updated

* Update exporter/prometheusexporter/prometheus.go

Co-authored-by: tanner-bruce <[email protected]>

* Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce <[email protected]>

* wip error metrics

* span metrics monitoring : refactored internal metrics counters

* span metrics monitoring : added metricKey error

* Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce <[email protected]>

* Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce <[email protected]>

* moved metric one loop up

* unique metrics count

* removed actice timeseries counter

* Update processor/spanmetricsprocessor/processor.go

Co-authored-by: tanner-bruce <[email protected]>

Co-authored-by: tanner-bruce <[email protected]>
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.