-
Notifications
You must be signed in to change notification settings - Fork 1
[LFXv2-608] Add OpenTelemetry tracing support #22
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
25e8164
Add OpenTelemetry tracing support
bramwelt 432e1bb
feat: add jaeger to default OTEL propagators
bramwelt 461132b
Add OTEL build-time variables and shutdown timeout
bramwelt 7cc225e
Fix GOFLAGS ldflags parsing in workflows
bramwelt b4ae39d
Add tests for pkg/log package
bramwelt 604b54b
Fix shellcheck warning in ko-build workflows
bramwelt fbcb110
Remove trailing backslash from ko build command
bramwelt 743e3c1
Remove redundant logging package, fix log context
bramwelt d017e3b
Add OTEL tracing to outgoing HTTP requests
bramwelt 7127f78
Fix go.mod tidy, use idiomatic nil slices
bramwelt b6a205f
Upgrade otel libraries to v1.40.0
bramwelt 8918f45
Update semconv to v1.39.0 for otel v1.40.0
bramwelt 4bebd1b
Fix serviceVersion default in chart docs
bramwelt feb7343
Fix global slog state leak in log tests
bramwelt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,3 +138,41 @@ app: | |
| value: authelia-users | ||
| AUTHELIA_OIDC_USERINFO_URL: | ||
| value: https://auth.k8s.orb.local/api/oidc/userinfo | ||
| # extraEnv allows injecting additional environment variables before | ||
| # other configurations | ||
| extraEnv: [] | ||
| # otel is the configuration for OpenTelemetry tracing | ||
| otel: | ||
| # serviceName is the service name for OpenTelemetry resource identification | ||
| # (default: "lfx-v2-auth-service") | ||
| serviceName: "" | ||
| # serviceVersion is the service version for OpenTelemetry resource | ||
| # identification | ||
| # (default: "1.0.0") | ||
| serviceVersion: "" | ||
|
Comment on lines
+149
to
+152
|
||
| # protocol specifies the OTLP protocol: "grpc" or "http" | ||
| # (default: "grpc") | ||
| protocol: "grpc" | ||
| # endpoint is the OTLP collector endpoint | ||
| # For gRPC: typically "host:4317", for HTTP: typically "host:4318" | ||
| endpoint: "" | ||
| # insecure disables TLS for the OTLP connection | ||
| # Set to "true" for in-cluster communication without TLS | ||
| insecure: "false" | ||
| # tracesExporter specifies the traces exporter: "otlp" or "none" | ||
| # (default: "none") | ||
| tracesExporter: "none" | ||
| # tracesSampleRatio specifies the sampling ratio for traces (0.0 to 1.0) | ||
| # A value of 1.0 means all traces are sampled, 0.5 means 50% are sampled | ||
| # (default: "1.0") | ||
| tracesSampleRatio: "1.0" | ||
| # metricsExporter specifies the metrics exporter: "otlp" or "none" | ||
| # (default: "none") | ||
| metricsExporter: "none" | ||
| # logsExporter specifies the logs exporter: "otlp" or "none" | ||
| # (default: "none") | ||
| logsExporter: "none" | ||
| # propagators specifies the propagators to use, comma-separated | ||
| # Supported values: "tracecontext", "baggage", "jaeger" | ||
| # (default: "tracecontext,baggage") | ||
| propagators: "tracecontext,baggage,jaeger" | ||
bramwelt marked this conversation as resolved.
Show resolved
Hide resolved
bramwelt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.