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

Allow removing unneded built-in metrics from the sampe output #3472

Closed
MurzNN opened this issue Nov 27, 2023 · 1 comment
Closed

Allow removing unneded built-in metrics from the sampe output #3472

MurzNN opened this issue Nov 27, 2023 · 1 comment
Assignees

Comments

@MurzNN
Copy link

MurzNN commented Nov 27, 2023

Feature Description

Regarding https://k6.io/docs/using-k6/metrics/create-custom-metrics/ we have a way to add custom metrics, but I can't find a way to remove built-in metrics.

I want to keep my database compact with only needed values, so I want to remove some built-in metrics. And not only from the summary (that can be handled by the function handleSummary()) but also from each sample metric.

And for now, I see no way to do this.

For example, I don't need the http_req_tls_handshaking or http_req_blocked and want to get rid of it, I want to store only the one http_req_duration metric.

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

@oleiade
Copy link
Member

oleiade commented Nov 28, 2023

Hi @MurzNN 👋🏻

Thanks for bringing this to our attention. We already have an issue tracking this specific need, I believe #1321.

It is our intent to look into this but both the solutions appear not trivial and we haven't had the opportunity to prioritize addressing it so far.

Marking this as duplicate and closing 🙇🏻

@oleiade oleiade closed this as completed Nov 28, 2023
@oleiade oleiade added duplicate and removed triage labels Nov 28, 2023
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

2 participants