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

[grafana] set the interval for the serviceMonitor to 30s so that irate()[1m] queries in the operators default Grafana dashboard work #2498

Conversation

winem
Copy link
Contributor

@winem winem commented Jul 11, 2023

This PR addresses the issue I reported in #2497

With this change the Grafana metrics are scraped every 30 seconds so that the dashboards that use irate queries with an interval of 1m do not show No data anymore.

In my opinion it's more suitable to update the scrape interval to be aligned with the defaults of the other service monitor than to update the queries in the dashboard: https://github.com/prometheus-operator/kube-prometheus/blob/main/manifests/grafana-dashboardDefinitions.yaml

@CLAassistant
Copy link

CLAassistant commented Jul 11, 2023

CLA assistant check
All committers have signed the CLA.

…e()[1m] queries in the operators default Grafana dashboard work

Signed-off-by: Marcel Weinberg <mweinberg-os@email.de>
@winem winem force-pushed the winem/reduce-grafana-service-monitor-scrape-interval branch from b61fb42 to fb908d7 Compare July 11, 2023 09:34
Copy link
Collaborator

@zanhsieh zanhsieh left a comment

Choose a reason for hiding this comment

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

@winem
Thanks for the contribution. Can you bump the version in Chart.yaml to latest so CI can merge this PR once approved?

Signed-off-by: Marcel Weinberg <mweinberg-os@email.de>
@winem winem force-pushed the winem/reduce-grafana-service-monitor-scrape-interval branch from 3ecea03 to 019e635 Compare October 13, 2023 20:48
@zanhsieh zanhsieh merged commit 1cea066 into grafana:main Oct 14, 2023
6 checks passed
coolguy1771 pushed a commit to coolguy1771/home-ops that referenced this pull request Oct 14, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [grafana](https://grafana.net)
([source](https://togithub.com/grafana/helm-charts)) | patch | `6.60.4`
-> `6.60.6` |

---

### Release Notes

<details>
<summary>grafana/helm-charts (grafana)</summary>

###
[`v6.60.6`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.6)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.5...grafana-6.60.6)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Update Grafana to v10.1.5 by
[@&#8203;Footur](https://togithub.com/Footur) in
[grafana/helm-charts#2706

**Full Changelog**:
grafana/helm-charts@grafana-6.60.5...grafana-6.60.6

###
[`v6.60.5`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.5)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.4...grafana-6.60.5)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] set the interval for the serviceMonitor to 30s so that
irate()\[1m] queries in the operators default Grafana dashboard work by
[@&#8203;winem](https://togithub.com/winem) in
[grafana/helm-charts#2498

#### New Contributors

- [@&#8203;winem](https://togithub.com/winem) made their first
contribution in
[grafana/helm-charts#2498

**Full Changelog**:
grafana/helm-charts@helm-loki-5.29.0...grafana-6.60.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: lumiere-bot <98047013+lumiere-bot[bot]@users.noreply.github.com>
spiceratops added a commit to spiceratops/k8s-gitops that referenced this pull request Oct 16, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [grafana](https://grafana.net)
([source](https://togithub.com/grafana/helm-charts)) | minor | `6.58.9`
-> `6.60.6` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>grafana/helm-charts (grafana)</summary>

###
[`v6.60.6`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.6)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.5...grafana-6.60.6)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Update Grafana to v10.1.5 by
[@&#8203;Footur](https://togithub.com/Footur) in
[grafana/helm-charts#2706

**Full Changelog**:
grafana/helm-charts@grafana-6.60.5...grafana-6.60.6

###
[`v6.60.5`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.5)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.4...grafana-6.60.5)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] set the interval for the serviceMonitor to 30s so that
irate()\[1m] queries in the operators default Grafana dashboard work by
[@&#8203;winem](https://togithub.com/winem) in
[grafana/helm-charts#2498

#### New Contributors

- [@&#8203;winem](https://togithub.com/winem) made their first
contribution in
[grafana/helm-charts#2498

**Full Changelog**:
grafana/helm-charts@helm-loki-5.29.0...grafana-6.60.5

###
[`v6.60.4`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.4)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.3...grafana-6.60.4)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] fix: add missing `| quote` for
`sidecar.dashboards.labelValue` by
[@&#8203;cwrau](https://togithub.com/cwrau) in
[grafana/helm-charts#2696

#### New Contributors

- [@&#8203;cwrau](https://togithub.com/cwrau) made their first
contribution in
[grafana/helm-charts#2696

**Full Changelog**:
grafana/helm-charts@grafana-6.60.3...grafana-6.60.4

###
[`v6.60.3`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.3)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.2...grafana-6.60.3)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Upgrade grafana to 10.1.4 by
[@&#8203;BenjaminHerbert](https://togithub.com/BenjaminHerbert) in
[grafana/helm-charts#2694

**Full Changelog**:
grafana/helm-charts@helm-loki-5.25.0...grafana-6.60.3

###
[`v6.60.2`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.2)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.1...grafana-6.60.2)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] fix: allow using existing clusterrole by
[@&#8203;gadisn](https://togithub.com/gadisn) in
[grafana/helm-charts#2691

#### New Contributors

- [@&#8203;gadisn](https://togithub.com/gadisn) made their first
contribution in
[grafana/helm-charts#2691

**Full Changelog**:
grafana/helm-charts@lgtm-distributed-1.0.0...grafana-6.60.2

###
[`v6.60.1`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.1)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.60.0...grafana-6.60.1)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Fix missing label for dashboard configmap by
[@&#8203;goodard](https://togithub.com/goodard) in
[grafana/helm-charts#2647

#### New Contributors

- [@&#8203;goodard](https://togithub.com/goodard) made their first
contribution in
[grafana/helm-charts#2647

**Full Changelog**:
grafana/helm-charts@grafana-6.60.0...grafana-6.60.1

###
[`v6.60.0`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.60.0)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.59.5...grafana-6.60.0)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] avoid storing secrets in config map by
[@&#8203;YuleZ](https://togithub.com/YuleZ) in
[grafana/helm-charts#2663
- \[tempo-distributed] adjust minReplicas for ingester by
[@&#8203;dheeg](https://togithub.com/dheeg) in
[grafana/helm-charts#2664

#### New Contributors

- [@&#8203;dheeg](https://togithub.com/dheeg) made their first
contribution in
[grafana/helm-charts#2664

**Full Changelog**:
grafana/helm-charts@rollout-operator-0.9.1...grafana-6.60.0

###
[`v6.59.5`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.5)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Update Grafana to v10.1.2 by
[@&#8203;Footur](https://togithub.com/Footur) in
[grafana/helm-charts#2659

**Full Changelog**:
grafana/helm-charts@loki-distributed-0.74.5...grafana-6.59.5

###
[`v6.59.4`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.4)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Remove unsupported property on extraExposePorts by
[@&#8203;jifwin](https://togithub.com/jifwin) in
[grafana/helm-charts#2597

**Full Changelog**:
grafana/helm-charts@loki-distributed-0.73.0...grafana-6.59.4

###
[`v6.59.3`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.3)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.59.2...grafana-6.59.3)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Fix Security vulnerability found in scan 2623 by
[@&#8203;zanac1986](https://togithub.com/zanac1986) in
[grafana/helm-charts#2643

**Full Changelog**:
grafana/helm-charts@grafana-6.59.2...grafana-6.59.3

###
[`v6.59.2`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.2)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.59.1...grafana-6.59.2)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Deprecate rbac.authorization.k8s.io/v1beta1 by
[@&#8203;zanac1986](https://togithub.com/zanac1986) in
[grafana/helm-charts#2642

**Full Changelog**:
grafana/helm-charts@grafana-agent-0.23.0...grafana-6.59.2

###
[`v6.59.1`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.1)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.59.0...grafana-6.59.1)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] bump grafana version to 10.1.1 by
[@&#8203;venkatamutyala](https://togithub.com/venkatamutyala) in
[grafana/helm-charts#2630

**Full Changelog**:
grafana/helm-charts@loki-distributed-0.72.0...grafana-6.59.1

###
[`v6.59.0`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.59.0)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.58.10...grafana-6.59.0)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Update Grafana to v10.1.0 by
[@&#8203;Footur](https://togithub.com/Footur) in
[grafana/helm-charts#2613

**Full Changelog**:
grafana/helm-charts@k8s-monitoring-0.1.13...grafana-6.59.0

###
[`v6.58.10`](https://togithub.com/grafana/helm-charts/releases/tag/grafana-6.58.10)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/grafana-6.58.9...grafana-6.58.10)

The leading tool for querying and visualizing time series and metrics.

#### What's Changed

- \[grafana] Add support for PDB apiVersion to be specified by
[@&#8203;titirigaiulian](https://togithub.com/titirigaiulian) in
[grafana/helm-charts#2572

#### New Contributors

- [@&#8203;titirigaiulian](https://togithub.com/titirigaiulian) made
their first contribution in
[grafana/helm-charts#2572

**Full Changelog**:
grafana/helm-charts@helm-loki-5.15.0...grafana-6.58.10

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/spiceratops/k8s-gitops).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
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.

None yet

3 participants