Skip to content

Chore: Improve prometheus language provider documentation #108661

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

Merged
merged 4 commits into from
Jul 25, 2025

Conversation

itsmylife
Copy link
Contributor

What is this feature?

Documentation improvements

@itsmylife itsmylife requested a review from a team as a code owner July 25, 2025 08:36
@itsmylife itsmylife added type/chore datasource/Prometheus no-changelog Skip including change in changelog/release notes labels Jul 25, 2025
protected getEffectiveLimit(limit?: number): number {
return limit || this.seriesLimit;
return limit ?? this.seriesLimit;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This must be ?? because we also care about 0.

@itsmylife itsmylife added this to the 12.1.x milestone Jul 25, 2025
Copy link
Member

@itsgareth itsgareth left a comment

Choose a reason for hiding this comment

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

LGTM

@itsmylife itsmylife requested a review from grafanabot as a code owner July 25, 2025 08:49
@itsmylife itsmylife enabled auto-merge (squash) July 25, 2025 08:50
@itsmylife itsmylife merged commit fa8b631 into main Jul 25, 2025
103 checks passed
@itsmylife itsmylife deleted the ismail/prom-langProvider-update-jsdoc branch July 25, 2025 09:45
@github-actions github-actions bot modified the milestones: 12.1.x, 12.2.x Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend datasource/Prometheus no-changelog Skip including change in changelog/release notes type/chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants