open-telemetry / open-telemetry/opentelemetry-cpp-contrib

Option to pass extra opentelemetry attributes

Open
#265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
153
Forks
184
Avg merge
2d 9h
Merged PRs (30d)
26

Description

With opentelemetry-webserver-sdk, is there an option to pass extra OTel attributes similar to how it is done in the nginx plugin, which seems not maintained now: https://github.com/open-telemetry/opentelemetry-cpp-contrib/blob/main/instrumentation/nginx/test/conf/nginx.conf#L22

We want to integrate Nginx with our product https://github.com/fluxninja/aperture and need the OTLP log collector from Nginx

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the referenced nginx/test/conf/nginx.conf example and the opentelemetry-webserver-sdk integration to determine how attributes are currently configured. Clarify the supported configuration path for extra OTel attributes and verify it with an Nginx-to-OTLP log collector integration; done means the requested attributes reach the collector.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.