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

feat(cli): set nontemplated url as req name by default in metrics #3264

Conversation

bernardobridge
Copy link
Contributor

@bernardobridge bernardobridge commented Jul 11, 2024

Description

By default, we will start setting a req.name equal to the non-templated url. This solves the issue with reports getting too big when users don't set req.name, which is particularly relevant in Cloud Dashboard, where it becomes unreadable. It will now look like this:

Screenshot 2024-07-11 at 16 37 13

Users can opt-out of this behaviour by setting groupDynamicURLs: false in their config.

Pre-merge checklist

  • Does this require an update to the docs?
  • Does this require a changelog entry?

@bernardobridge bernardobridge marked this pull request as ready for review July 11, 2024 15:39
@bernardobridge bernardobridge force-pushed the bernardobridge/art-1893-send-non-templated-url-with-metrics-by-endpoint-by-default branch from e8c9132 to bff2895 Compare July 11, 2024 15:45
@bernardobridge bernardobridge requested a review from a team July 11, 2024 15:46
@bernardobridge bernardobridge force-pushed the bernardobridge/art-1893-send-non-templated-url-with-metrics-by-endpoint-by-default branch from bff2895 to c5c1dcc Compare July 12, 2024 12:39
@bernardobridge bernardobridge force-pushed the bernardobridge/art-1893-send-non-templated-url-with-metrics-by-endpoint-by-default branch from c5c1dcc to 35c427a Compare July 16, 2024 15:35
@bernardobridge bernardobridge merged commit 5a01e36 into main Jul 22, 2024
56 checks passed
@bernardobridge bernardobridge deleted the bernardobridge/art-1893-send-non-templated-url-with-metrics-by-endpoint-by-default branch July 22, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant