-
Notifications
You must be signed in to change notification settings - Fork 359
Expose orchestrator roles #3201
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -303,6 +303,7 @@ | |
| version, | ||
| serviceInstanceID, | ||
| attribute.Key("host.labels").StringSlice(config.NodeLabels), | ||
| attribute.Key("service.roles").StringSlice(config.Services), | ||
|
Check warning on line 306 in packages/orchestrator/pkg/factories/run.go
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 The new Extended reasoning...What the bug is. In |
||
| ) | ||
| if err != nil { | ||
| logger.L().Fatal(ctx, "failed to init telemetry", zap.Error(err)) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Roles skip GetServices normalization
Medium Severity
service.rolesis set from rawconfig.Serviceswhileservice.nameand runtime behavior usecfg.GetServices(config)on the same line 236. Unknown entries, casing, and whitespace can appear in OTEL but not in what actually runs, so role-based OTEL filters can miss or mislabel instances.Reviewed by Cursor Bugbot for commit a0547d5. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected