Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Upgrade to v0.16.0 of upstream #4

Merged
merged 560 commits into from
Dec 16, 2020
Merged

Upgrade to v0.16.0 of upstream #4

merged 560 commits into from
Dec 16, 2020

Conversation

gabrielhartmann
Copy link

No description provided.

dependabot bot and others added 30 commits November 2, 2020 19:32
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](grpc/grpc-go@v1.32.0...v1.33.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](hashicorp/go-hclog@v0.14.0...v0.14.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](census-instrumentation/opencensus-go@v0.22.4...v0.22.5)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

* Address review comments and add new_name regex substitution
* Move test as per CR comments

* Fix getting cached value

* Remove unneeded dependencies and config sections
Fix an error for the config file part.
* initial commit of ecs translation

* reverted trace ID change

* added unit tests

* addressed comments and unit test issues

* fixed breaking API changes
Resolves: open-telemetry/opentelemetry-collector#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:
open-telemetry/opentelemetry-collector#2031
* 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
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
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

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](golangci/golangci-lint@v1.31.0...v1.32.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump gopsutil to 3.20.10 instead

Signed-off-by: Juraci Paixão Kröhling <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
* Pass around config

* Attach logger to Config

* Add check for unhandled data type

* Format code
…support (#1511)

Filed open-telemetry#1510 for AWS folks to fix the test in the way they want.

Signed-off-by: Bogdan Drutu <[email protected]>
* 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 a8552c0.

* Add tests for nil metric

* Bring to compat with 0.14 API
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](grpc/grpc-go@v1.33.1...v1.33.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](hashicorp/go-hclog@v0.14.1...v0.15.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](aws/aws-sdk-go@v1.35.20...v1.35.23)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](grpc/grpc-go@v1.33.1...v1.33.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](grpc/grpc-go@v1.33.1...v1.33.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 28 commits December 6, 2020 22:33
…1765)

Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.20.10+incompatible to 3.20.11+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v3.20.10...v3.20.11)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…or (#1763)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.35.35...v1.36.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1761)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.35.35...v1.36.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.2 to 1.34.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.33.2...v1.34.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.35.35...v1.36.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.20.10+incompatible to 3.20.11+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v3.20.10...v3.20.11)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.35.35...v1.36.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.2 to 1.34.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.33.2...v1.34.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.35.35...v1.36.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Important changes only in Honeycomb exporter, will wait for their review.

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

* Add collector version to EMF exporter user agent

* Change log level to Info for publication results
Add comments to explain the environment variables used
* Change the User-Agent content order for xray and emf exporter

* Use PushFrontNamed method instead
As a follow-up of #808, this diff documents the new configuration
parameters that allow indexed attributes to be X-Ray annotations.
We are adding more tests to the AWSPrometheusRemoteWriteExporter in this PR. These tests include mocking the credentials and test for negative error cases. In this PR, we refactored `auth.go` so that we can provide mocked credentials to the SigV4 signer and added a test for no credentials.

**Testing:** 

* `auth_test.go` was changed to provide mock credentials
* `factory_test.go` was changed to add a comment to warn user's not to set their credentials with environment variables in production code
* Use a single Sublayer Calculator

Ideally, we would use one sublayer calculator per worker as the Datadog
Agent does, but we can't here since we don't have access to the queue
consumers.

* Amend tests

* Address linter issue

* Unexport all functions that can be kept private
This puts the configuration for correlation inside the signalfx exporter
config. For it to be used at runtime the exporter must be added to the traces
pipeline.
The titus spectatord exporter only supports Kubelet based
implementations and only supports a single metric type
* Add keystone exporter

* Add instance id and stack to payload
@gabrielhartmann gabrielhartmann merged commit ceab841 into titus Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet