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 configuration option for events.subgraph.request|response|error to target only specified subgraphs #4984

Open
bnjjj opened this issue Apr 18, 2024 · 0 comments
Assignees

Comments

@bnjjj
Copy link
Contributor

bnjjj commented Apr 18, 2024

With this configuration:

telemetry:
  apollo:
    client_name_header: name_header
    client_version_header: version_header
  instrumentation:
    events:
      subgraph:
        # Standard events
        request: info
        response: warn
        error: error

It would be great to be able to specify subgraphs we want to log. No need for this for custom events because we can still use the subgraph.name selector as a condition

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

No branches or pull requests

1 participant