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

All GraphQL operations end up under the same POST /graphql transaction #2422

Open
Fxlr8 opened this issue Sep 5, 2024 · 0 comments
Open

Comments

@Fxlr8
Copy link

Fxlr8 commented Sep 5, 2024

This may affect other libraries, but I would like to get opinions here first

I am using opentelemetry instrumentation for my GraphQL API. I use Elastic APM as observability interface. Looks like both systems were designed for REST API and all REST endpoints are shown separately as expected. But all GraphQL transactions end up under the same POST /graphql endpoint that is not very useful.

I don't believe I am the first person to ever face this problem, but I did not find any standard solution for that. I would like all GraphQL operations shown as GraphQL: {operation_type} {operation_name}

That seems pretty intuitive and I wonder why is that not set like that by default

Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant