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

Add OpenTelemetry tracing #118

Merged
merged 8 commits into from
Mar 15, 2024
Merged

Add OpenTelemetry tracing #118

merged 8 commits into from
Mar 15, 2024

Conversation

vmercierfr
Copy link
Collaborator

@vmercierfr vmercierfr commented Jan 31, 2024

Objective

Add OpenTelemetry tracing

Why

Tracing help to troubleshoot and investigate exporter performances.

screenshot 2024-01-31 at 23 51 21

We'll leverage on this tracing to investigate and fix bugs tied to AWS APIs call (e.g. #96)

How

  • Add OpenTelemetry tracing
  • Add --enable-otel parameter (or enable-otel in configuration file)

Release plan

  • Merge this PR

@vmercierfr vmercierfr added the enhancement New feature or request label Jan 31, 2024
@vmercierfr
Copy link
Collaborator Author

#sre

@vmercierfr
Copy link
Collaborator Author

vmercierfr commented Jan 31, 2024

@mcorbin @dcupif I'll be happy to have your insight on this feature

README.md Show resolved Hide resolved
@vmercierfr vmercierfr added this to the 0.6.0 milestone Mar 12, 2024
cmd/root.go Outdated Show resolved Hide resolved
internal/app/rds/rds.go Outdated Show resolved Hide resolved
@vmercierfr vmercierfr modified the milestones: 0.7.0, 0.8.0 Mar 14, 2024
Copy link
Contributor

@dcupif dcupif left a comment

Choose a reason for hiding this comment

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

LGTM but you probably should address Matthieu's comments before merging

internal/app/ec2/ec2.go Show resolved Hide resolved
Copy link

Code Coverage

Package Line Rate Health
github.com/qonto/prometheus-rds-exporter/internal/app/cloudwatch 87%
github.com/qonto/prometheus-rds-exporter/internal/app/ec2 85%
github.com/qonto/prometheus-rds-exporter/internal/app/exporter 80%
github.com/qonto/prometheus-rds-exporter/internal/app/rds 75%
github.com/qonto/prometheus-rds-exporter/internal/app/servicequotas 51%
github.com/qonto/prometheus-rds-exporter/internal/app/trace 100%
github.com/qonto/prometheus-rds-exporter/internal/app/unit 100%
Summary 80% (1014 / 1274)

Minimum allowed line rate is 60%

@vmercierfr vmercierfr merged commit e7d41d3 into main Mar 15, 2024
12 checks passed
@vmercierfr vmercierfr deleted the otel branch April 3, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants