opentelemetry-shell icon indicating copy to clipboard operation
opentelemetry-shell copied to clipboard

Add resource detection for Harness pipelines

Open krzko opened this issue 3 years ago • 0 comments

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, Harness pipelines. 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 Harness pipeline-specific information, such as;

  • Pipeline details
  • Workflow details
  • Step details

Describe alternatives you've considered

Additional context

  • https://docs.harness.io/article/21kgaw4h86-harness-yaml-code-reference
  • https://docs.harness.io/article/aza65y4af6-built-in-variables-list
  • https://docs.harness.io/article/lml71vhsim-harness-variables

krzko avatar Jul 14 '22 10:07 krzko