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: add support for apdex settings #3186

Merged
merged 4 commits into from
Jul 26, 2023
Merged

feat: add support for apdex settings #3186

merged 4 commits into from
Jul 26, 2023

Conversation

srikanthccv
Copy link
Member

@srikanthccv srikanthccv commented Jul 21, 2023

Part of #1477

https://en.wikipedia.org/wiki/Apdex

The default apdex threshold for a service is 500ms, and users can (and ideally should) update the threshold with the appropriate value for the service. They can optionally specify a comma-separated string of status codes to ignore when deciding the error calls. This adds support for persisting and retrieving the settings.

We use the bucket boundaries when this score is calculated from metrics since we don't have raw samples. For example, if the threshold is 500ms, the boundaries used are le=500 and le=2000. See this https://stagingapp.signoz.io/dashboard/4254c4e1-3a5f-4d82-a1cc-a5c084abcb6a for example. The /api/v1/metric_meta is added for the signoz_latency_bucket meta. This endpoint provides the metric temporality and bucket boundaries. The temporality is important because the final formula for delta and metrics differ.

@github-actions github-actions bot added the enhancement New feature or request label Jul 21, 2023
@srikanthccv srikanthccv marked this pull request as ready for review July 25, 2023 08:06
@makeavish makeavish linked an issue Jul 26, 2023 that may be closed by this pull request
@srikanthccv srikanthccv removed a link to an issue Jul 26, 2023
@srikanthccv srikanthccv merged commit cac637a into develop Jul 26, 2023
@srikanthccv srikanthccv deleted the apdex-misc branch July 26, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants