Skip to content

Commit

Permalink
chore: add servicemonitor configuration and values note
Browse files Browse the repository at this point in the history
Signed-off-by: liyang <[email protected]>
  • Loading branch information
daviderli614 committed Dec 31, 2024
1 parent fa98376 commit f6c419b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/tempo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo
description: Grafana Tempo Single Binary Mode
type: application
version: 1.16.0
version: 1.16.1
appVersion: 2.6.1
engine: gotpl
home: https://grafana.net
Expand Down
9 changes: 5 additions & 4 deletions charts/tempo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo

![Version: 1.16.0](https://img.shields.io/badge/Version-1.16.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square)
![Version: 1.16.1](https://img.shields.io/badge/Version-1.16.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.1](https://img.shields.io/badge/AppVersion-2.6.1-informational?style=flat-square)

Grafana Tempo Single Binary Mode

Expand Down Expand Up @@ -61,7 +61,7 @@ Grafana Tempo Single Binary Mode
| tempo.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the ingester pods |
| tempo.extraVolumeMounts | list | `[]` | Volume mounts to add |
| tempo.global_overrides.per_tenant_override_config | string | `"/conf/overrides.yaml"` | |
| tempo.ingester | object | `{}` | Configuration options for the ingester |
| tempo.ingester | object | `{}` | Configuration options for the ingester. Refers to: https://grafana.com/docs/tempo/latest/configuration/#ingester |
| tempo.livenessProbe.failureThreshold | int | `3` | |
| tempo.livenessProbe.httpGet.path | string | `"/ready"` | |
| tempo.livenessProbe.httpGet.port | int | `3100` | |
Expand All @@ -75,8 +75,8 @@ Grafana Tempo Single Binary Mode
| tempo.multitenancyEnabled | bool | `false` | |
| tempo.overrides | object | `{}` | |
| tempo.pullPolicy | string | `"IfNotPresent"` | |
| tempo.querier | object | `{}` | Configuration options for the querier |
| tempo.queryFrontend | object | `{}` | Configuration options for the query-fronted |
| tempo.querier | object | `{}` | Configuration options for the querier. Refers to: https://grafana.com/docs/tempo/latest/configuration/#querier |
| tempo.queryFrontend | object | `{}` | Configuration options for the query-fronted. Refers to: https://grafana.com/docs/tempo/latest/configuration/#query-frontend |
| tempo.readinessProbe.failureThreshold | int | `3` | |
| tempo.readinessProbe.httpGet.path | string | `"/ready"` | |
| tempo.readinessProbe.httpGet.port | int | `3100` | |
Expand All @@ -96,6 +96,7 @@ Grafana Tempo Single Binary Mode
| tempo.resources | object | `{}` | |
| tempo.retention | string | `"24h"` | |
| tempo.securityContext | object | `{}` | |
| tempo.server | object | `{"http_listen_port":3100}` | Configuration options for the server. Refers to: https://grafana.com/docs/tempo/latest/configuration/#server |
| tempo.server.http_listen_port | int | `3100` | HTTP server listen port |
| tempo.storage.trace.backend | string | `"local"` | |
| tempo.storage.trace.local.path | string | `"/var/tempo/traces"` | |
Expand Down
1 change: 1 addition & 0 deletions charts/tempo/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "tempo.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "tempo.name" . }}
chart: {{ template "tempo.chart" . }}
Expand Down
28 changes: 19 additions & 9 deletions charts/tempo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tempo:
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## Refers to: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
Expand All @@ -48,20 +48,30 @@ tempo:
# -- If true, enables Tempo's metrics generator (https://grafana.com/docs/tempo/next/metrics-generator/)
enabled: false
remoteWriteUrl: "http://prometheus.monitoring:9090/api/v1/write"
# -- Configuration options for the ingester
# -- Configuration options for the ingester.
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#ingester
ingester: {}
# -- Configuration options for the querier
# flush_check_period: 10s
# trace_idle_period: 10s
# max_block_duration: 30m
# complete_block_timeout: 1h
# -- Configuration options for the querier.
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#querier
querier: {}
# -- Configuration options for the query-fronted
# max_concurrent_queries: 20
# -- Configuration options for the query-fronted.
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#query-frontend
queryFrontend: {}
# search:
# concurrent_jobs: 2000
retention: 24h
# Global overrides
global_overrides:
per_tenant_override_config: /conf/overrides.yaml
overrides: {}

# Tempo server configuration
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
# -- Configuration options for the server.
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#server
server:
# -- HTTP server listen port
http_listen_port: 3100
Expand All @@ -86,8 +96,8 @@ tempo:
successThreshold: 1
storage:
trace:
# tempo storage backend
# refer https://grafana.com/docs/tempo/latest/configuration/
# tempo storage backend.
# Refers to: https://grafana.com/docs/tempo/latest/configuration/
## Use s3 for example
# backend: s3
# store traces in s3
Expand Down Expand Up @@ -185,7 +195,7 @@ tempoQuery:
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## Refers to: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
Expand Down

0 comments on commit f6c419b

Please sign in to comment.