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: allow name tag, and overwrite url tag with name tag if set #60

Merged
merged 2 commits into from Feb 21, 2024

Conversation

mkadirtan
Copy link
Contributor

What?

This PR allows users to manually set name tag. Also, when name tag is present, it will overwrite the url tag.

Why?

Query parameters in the url, cause too many trends to appear in metrics. This is explained in the issue as well.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make test) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

Spiritual equivelant in k6 repo: grafana/k6#2703

Closes #33

@mkadirtan mkadirtan requested a review from a team as a code owner February 9, 2024 22:02
@mkadirtan mkadirtan requested review from oleiade and olegbespalov and removed request for a team February 9, 2024 22:02
@CLAassistant
Copy link

CLAassistant commented Feb 9, 2024

CLA assistant check
All committers have signed the CLA.

@mkadirtan
Copy link
Contributor Author

bump @oleiade @olegbespalov

Copy link
Contributor

@olegbespalov olegbespalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay in reviewing; the changes look good to me 🙌 Thank you for the contribution!

@mkadirtan
Copy link
Contributor Author

Sorry for the delay in reviewing; the changes look good to me 🙌 Thank you for the contribution!

No problem, thanks for the review. What is the merge process? Do we need another review, apparently I can't merge.

@olegbespalov
Copy link
Contributor

What is the merge process? Do we need another review, apparently I can't merge.

Yes, we do allow the merge only from maintainers. Once the @oleiade (as the remaining reviewer) reviews and approves the changes, it could be possible.

Later, we will issue the tag (or bump an updated version of the module to the k6 core.

Copy link
Member

@oleiade oleiade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@olegbespalov olegbespalov merged commit d021a4a into grafana:main Feb 21, 2024
10 checks passed
@olegbespalov
Copy link
Contributor

The k6's PR for the reference grafana/k6#3606

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

Successfully merging this pull request may close these issues.

Built In wss sessions is creating too many trends
5 participants