Collection of extensions for OpenTelemetry-Go.
Go to file
Wilbert Guo b02fae7b25
Add Amazon EKS Resource Detector (#465)
* Add EKS Resource Detector

* Remove getK8sCredHeader() from detectorUtils interface

* Change implementation for getContainerId() to be consistent with ecs resource detector

* Change code to use resource.Empty()

* Add comments to functions

* Update error handling with useful messages

* Delete unused variables in EKS resource detector tests

* Add whitespace around operators

* Add space around "-" operator

* Update comments for functions to be more descriptive

* Update CHANGELOG.md

* Fix spaces around operators.

* Change "GET" to use http.MethodGet

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for retrieving auth configmap

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for HTTP request

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for executing HTTP request

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for HTTP response

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for getClusterName

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for parsing JSON for clusterName

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update error message for reading file

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Fix build errors

* Change JSON parsing to use map[string]interface{}

* Add check for HTTP response status code in error handling

* Refactor millisecondTimeOut variable name to timeoutMillis

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/go.mod

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/go.sum

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/go.mod

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector_test.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector_test.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector_test.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/eks_resource_detector_test.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Fix build error and address changes to PR

* Change getContainerID() to use regex

* Update detectors/aws/eks/detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update detectors/aws/eks/detector.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-12-04 12:56:06 -08:00
.circleci Build both go-1.14 and go-1.15 in circleci with new custom executors (#351) 2020-09-17 16:48:31 -07:00
.github Add Amazon EKS Resource Detector (#465) 2020-12-04 12:56:06 -08:00
detectors Add Amazon EKS Resource Detector (#465) 2020-12-04 12:56:06 -08:00
exporters/metric Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 in /exporters/metric/cortex (#470) 2020-11-30 10:55:51 -08:00
instrumentation Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 in /instrumentation/net/http/httptrace/otelhttptrace (#472) 2020-11-30 12:11:34 -08:00
internal/util Use tracer and meter test helpers from the OTEL repository instead of the internal ones (#414) 2020-11-20 09:00:12 -08:00
propagators add opencensus propagation readme and example (#473) 2020-12-02 12:24:43 -08:00
tools Bump github.com/golangci/golangci-lint from 1.32.2 to 1.33.0 in /tools (#468) 2020-11-30 10:23:57 -08:00
.gitignore Remove `go.opentelemetry.io/otel/sdk` dependency from instrumentation (#381) 2020-10-05 14:41:38 -04:00
.golangci.yml Add a golangci-lint configuration file (#18) 2020-04-23 13:16:16 -07:00
CHANGELOG.md Add Amazon EKS Resource Detector (#465) 2020-12-04 12:56:06 -08:00
CODEOWNERS Add @XSAM as an approver (#321) 2020-09-03 12:45:05 -04:00
CONTRIBUTING.md Add @XSAM as an approver (#321) 2020-09-03 12:45:05 -04:00
LICENSE Initial commit 2020-02-21 10:12:37 -08:00
Makefile Update instrumentation naming (#359) 2020-09-24 09:06:26 -07:00
README.md Tiny README.md fix (#438) 2020-11-07 12:17:56 -08:00
RELEASING.md Update RELEASING.md with correct tag.sh cmd (#130) 2020-07-10 11:30:39 -07:00
contrib.go Release v0.14.0 (#461) 2020-11-20 18:03:45 -08:00
doc.go Add license-check to Makefile (#228) 2020-08-16 12:18:58 -04:00
go.mod Use tracer and meter test helpers from the OTEL repository instead of the internal ones (#414) 2020-11-20 09:00:12 -08:00
go.sum Use tracer and meter test helpers from the OTEL repository instead of the internal ones (#414) 2020-11-20 09:00:12 -08:00
pre_release.sh Release v0.11.0 (#282) 2020-08-25 11:46:24 -04:00
tag.sh Add tagging script for release process (#60) 2020-06-09 17:36:59 -07:00

README.md

OpenTelemetry-Go Contrib

Circle CI Docs Go Report Card Gitter

Collection of 3rd-party instrumentation and exporters for OpenTelemetry-Go.

Contents

  • Instrumentation: Packages providing OpenTelemetry instrumentation for 3rd-party libraries.
  • Exporters: Packages providing OpenTelemetry exporters for 3rd-party telemetry systems.
  • Propagators: Packages providing OpenTelemetry context propagators for 3rd-party propagation formats.
  • Detectors: Packages providing OpenTelemetry resource detectors for 3rd-party cloud computing environments.

Project Status

This project is currently in a pre-GA phase. Our progress towards a GA release candidate is tracked in this project board.

Contributing

For information on how to contribute, consult the contributing guidelines