pyroscope-monitoring
by Grafana
A Helm chart for monitoring Grafana Pyroscope. This helm chart uses otel-lgtm to monitor the health of the Grafana Pyroscope backend.
About this chart
pyroscope-monitoring
A Helm chart for monitoring Grafana Pyroscope. This helm chart uses otel-lgtm to monitor the health of the Grafana Pyroscope backend.
⚠️ Note: This monitoring setup is not production grade and is intended for development and testing purposes only.
Dashboards
This chart provisions the following Grafana dashboards under the "Pyroscope" folder:
- operational - General operational metrics dashboard
- v2-metastore - Metastore-related metrics dashboard (only relevant with v2 storage layer)
- v2-read-path - Read path performance dashboard (focusing on v2 storage layer)
- v2-write-path - Write path performance dashboard (focusing on v2 storage layer)
Requirements
| Repository | Name | Version |
|---|---|---|
| https://grafana.github.io/helm-charts | monitoring(k8s-monitoring) | 3.5.3 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| dashboards.cadvisorSelector | string | "job=~\"(.*/)?cadvisor\"" | |
| dashboards.cloudBackendGateway | bool | false | |
| dashboards.cloudBackendGatewaySelector | string | "container=~\"cortex-gw(-internal)?\"" | |
| dashboards.cluster | string | "pyroscope-dev" | |
| dashboards.ingestSelector | string | `"container=~"pyroscope | distributor |
| dashboards.kubeStateMetricsSelector | string | "job=~\"(.*/)?kube-state-metrics\"" | |
| dashboards.namespace | string | "default" | |
| dashboards.namespaceRegex | string | ".*" | |
| dashboards.tenantQuery | string | "sum by (tenant, slug, org_name, environment) (\n rate(pyroscope_distributor_received_decompressed_bytes_sum{cluster=~\"$cluster\",namespace=~\"$namespace\"}[$__rate_interval])\n)\n" | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "grafana/otel-lgtm" | |
| image.tag | string | "0.11.10" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podLabels | object | {} | |
| podSecurityContext | object | {} | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext | object | {} | |
| service.deployStaticName | bool | true | |
| service.type | string | "ClusterIP" | |
| tolerations | list | [] |
Deploy pyroscope-monitoring with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pyroscope-monitoring on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpyroscope-monitoring is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply