Display custom event attributes properly on subscription events
Custom event attributes set using selectors at the supergraph level is now displayed properly. Example of configuration:
telemetry:
instrumentation:
events:
supergraph:
supergraph.event:
message: supergraph event
on: event_response # on every supergraph event (like subscription event for example)
level: info
attributes:
test:
static: foo
response.data:
response_data: $ # Display all the response data payload
response.errors:
response_errors: $ # Display all the response errors payload
Don't send apollo_private.* attributes to Jaeger collector
When using Jaeger collector to send traces you will no longer receive useless span attributes prefixed with apollo_private.
Checklist
Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.
[x] Changes are compatible[^1]
[x] Documentation[^2] completed
[x] Performance impact assessed and acceptable
Tests added and passing[^3]
[ ] Unit Tests
[x] Integration Tests
[x] Manual Tests
Exceptions
Note any exceptions here
Notes
[^1]: It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.
[^2]: Configuration is an important part of many changes. Where applicable please try to document configuration examples.
[^3]: Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions.
[ ] events - Stress test for events with a lot of users and deduplication ENABLED
[ ] events_big_cap_high_rate - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity
[ ] events_big_cap_high_rate_callback - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity using callback mode
[ ] events_callback - Stress test for events with a lot of users and deduplication ENABLED in callback mode
[ ] events_without_dedup - Stress test for events with a lot of users and deduplication DISABLED
[ ] events_without_dedup_callback - Stress test for events with a lot of users and deduplication DISABLED using callback mode
Display custom event attributes properly on subscription events
Custom event attributes set using selectors at the supergraph level is now displayed properly. Example of configuration:
Don't send
apollo_private.*
attributes to Jaeger collectorWhen using Jaeger collector to send traces you will no longer receive useless span attributes prefixed with
apollo_private.
Checklist
Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.
Exceptions
Note any exceptions here
Notes
[^1]: It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this. [^2]: Configuration is an important part of many changes. Where applicable please try to document configuration examples. [^3]: Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions.