Skip to content

feat(nginx): opentelemetry-cpp v1.0.0-rc3#45

Merged
seemk merged 1 commit intoopen-telemetry:mainfrom
johanneswuerbach:nginx-rc3
Jul 13, 2021
Merged

feat(nginx): opentelemetry-cpp v1.0.0-rc3#45
seemk merged 1 commit intoopen-telemetry:mainfrom
johanneswuerbach:nginx-rc3

Conversation

@johanneswuerbach
Copy link
Copy Markdown
Contributor

@johanneswuerbach johanneswuerbach requested a review from seemk as a code owner July 13, 2021 18:15
@johanneswuerbach johanneswuerbach requested a review from a team July 13, 2021 18:15
#include "propagate.h"
#include <opentelemetry/context/context.h>
#include <opentelemetry/exporters/otlp/otlp_exporter.h>
#include <opentelemetry/exporters/otlp/otlp_grpc_exporter.h>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@seemk seemk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! That was fast 😄

${OPENTELEMETRY_CPP_LIBRARIES}
gRPC::grpc++
CURL::libcurl
nlohmann_json::nlohmann_json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is coming from open-telemetry/opentelemetry-cpp#810, not sure if we should attempt to drop this as OTLP/HTTP+JSON exporter isn't used at the moment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it build when not using find_package(nlohmann_json) and not linking to it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope :-(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otel CPP external dependencies are starting to get a bit out of hand, wish it had none and would be distributed as a single library file. 😄

Anyway, thanks for the PR!

@seemk seemk merged commit 01ee1ae into open-telemetry:main Jul 13, 2021
@marcalff marcalff added the instrumentation:nginx Nginx module label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants