Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Krakend OTEL #839

Merged
merged 25 commits into from
Mar 11, 2024
Merged

Krakend OTEL #839

merged 25 commits into from
Mar 11, 2024

Conversation

dhontecillas
Copy link
Contributor

@dhontecillas dhontecillas commented Jan 20, 2024

Instrument the service using OpenTelemetry

executor.go Outdated
}

runServerChain := router.RunServerFunc(e.RunServerFactory.NewRunServer(logger, serverhttp.RunServerWithLoggerFactory(logger)))
if otelCfg != nil {

Choose a reason for hiding this comment

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

@dhontecillas ideally shouldn't the first handler have instrumentation? In this case cors middleware execution results won't be captured in the telemetry data right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep! I am going to fix it .. thanks

@taik0 taik0 changed the base branch from master to dev-2.6 February 23, 2024 15:17
@dhontecillas dhontecillas marked this pull request as ready for review March 1, 2024 07:35
executor.go Outdated Show resolved Hide resolved
Copy link
Member

@kpacha kpacha left a comment

Choose a reason for hiding this comment

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

There are 2 interfaces that aren't used any more

executor.go Outdated Show resolved Hide resolved
executor.go Outdated Show resolved Hide resolved
@kpacha kpacha merged commit 81f2bca into dev-2.6 Mar 11, 2024
2 checks passed
@kpacha kpacha deleted the krakend_otel branch March 11, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants