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

follow doc cannot config up nginx module

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

Nobody has claimed this yet.

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

Description

Describe your environment
follow this https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx
start nginx get error

nginx: [emerg] unknown directive "opentelemetry" in /etc/nginx/nginx.conf:18

use webserver/v1.0.3

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 with the instructions in instrumentation/nginx and reproduce the reported startup failure using webserver/v1.0.3. Inspect /etc/nginx/nginx.conf at line 18 and compare it with the referenced configuration guidance; done means nginx starts without reporting the unknown "opentelemetry" directive.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.