Skip to content

Commit

Permalink
enable metrics for memcachedChunks (#260)
Browse files Browse the repository at this point in the history
* enable metrics for memcachedChunks

* added memcached exporter dashboard

* update command and args of loki memcached

* add comments

* enable service monitor for memcache exporter
  • Loading branch information
muzammil360 authored May 3, 2024
1 parent b049f2d commit d2568e4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ queryFrontend:
values: ["enabled"]

memcachedchunks:
metrics:
enabled: true
serviceMonitor:
enabled: true
resourcesPreset: medium # https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl
command:
- "/opt/bitnami/scripts/memcached/entrypoint.sh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,22 @@ spec:
dashboards: "grafana"
grafanaCom:
id: 249
revision: 2
revision: 2

---

apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: memcached-exporter
spec:
folder: default
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
instanceSelector:
matchLabels:
dashboards: "grafana"
grafanaCom:
id: 11527
revision: 1

0 comments on commit d2568e4

Please sign in to comment.