krzko / opentelemetry-shell

🚦 OpenTelemetry functions for shells
Apache License 2.0
65 stars 6 forks source link

Add resource detection for AWS CodeBuild pipelines #24

Open krzko opened 2 years ago

krzko commented 2 years ago

Is your feature request related to a problem?

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The resource detection functions should detect resource information from the underlying CI/CD system, in this case, Github Actions workflows. It should append or override the resource value in telemetry data with this information.

A basis for this work is following the OTEL Collector resource detection processor.

Describe the solution you'd like

Append/add Github Actions workflow-specific information, such as;

Describe alternatives you've considered

-

Additional context

Specs - https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html