We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. I'm always frustrated when API grouped by API names, for example, this is my API.
from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q}
When I have API calls
Then it will show as 4 separate requests on the APM UI, rather than aggregated with the name GET /items/{item_id}.
GET /items/{item_id}
Current result is
But it should be,
Describe the solution you'd like Use request pattern /items/{item_id} for the transition name, not the specific URL.
Additional context When I use flask, the APM agent behaves in this way.
The text was updated successfully, but these errors were encountered:
Here is an example of how to access the API path in middle-ware, tiangolo/fastapi#486.
Sorry, something went wrong.
Duplicated with #833, closed.
No branches or pull requests
Is your feature request related to a problem? Please describe.
I'm always frustrated when API grouped by API names, for example, this is my API.
When I have API calls
Then it will show as 4 separate requests on the APM UI, rather than aggregated with the name
GET /items/{item_id}
.Current result is
But it should be,
Describe the solution you'd like
Use request pattern /items/{item_id} for the transition name, not the specific URL.
Additional context
When I use flask, the APM agent behaves in this way.
The text was updated successfully, but these errors were encountered: