Skip to content

Commit be5bfb9

Browse files
Merge pull request #3506 from daviderli614/chore/tempo-config
[tempo] Add servicemonitor namespace and values note
2 parents 9a189f3 + 43bbdd3 commit be5bfb9

File tree

5 files changed

+24
-17
lines changed

5 files changed

+24
-17
lines changed

charts/tempo/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo
33
description: Grafana Tempo Single Binary Mode
44
type: application
5-
version: 1.18.0
5+
version: 1.18.1
66
appVersion: 2.7.0
77
engine: gotpl
88
home: https://grafana.net

charts/tempo/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo
22

3-
![Version: 1.18.0](https://img.shields.io/badge/Version-1.18.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
3+
![Version: 1.18.1](https://img.shields.io/badge/Version-1.18.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
44

55
Grafana Tempo Single Binary Mode
66

@@ -62,7 +62,7 @@ Grafana Tempo Single Binary Mode
6262
| tempo.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the ingester pods |
6363
| tempo.extraVolumeMounts | list | `[]` | Volume mounts to add |
6464
| tempo.global_overrides.per_tenant_override_config | string | `"/conf/overrides.yaml"` | |
65-
| tempo.ingester | object | `{}` | Configuration options for the ingester |
65+
| tempo.ingester | object | `{}` | Configuration options for the ingester. Refers to: https://grafana.com/docs/tempo/latest/configuration/#ingester |
6666
| tempo.livenessProbe.failureThreshold | int | `3` | |
6767
| tempo.livenessProbe.httpGet.path | string | `"/ready"` | |
6868
| tempo.livenessProbe.httpGet.port | int | `3100` | |
@@ -76,8 +76,8 @@ Grafana Tempo Single Binary Mode
7676
| tempo.multitenancyEnabled | bool | `false` | |
7777
| tempo.overrides | object | `{}` | |
7878
| tempo.pullPolicy | string | `"IfNotPresent"` | |
79-
| tempo.querier | object | `{}` | Configuration options for the querier |
80-
| tempo.queryFrontend | object | `{}` | Configuration options for the query-fronted |
79+
| tempo.querier | object | `{}` | Configuration options for the querier. Refers to: https://grafana.com/docs/tempo/latest/configuration/#querier |
80+
| tempo.queryFrontend | object | `{}` | Configuration options for the query-fronted. Refers to: https://grafana.com/docs/tempo/latest/configuration/#query-frontend |
8181
| tempo.readinessProbe.failureThreshold | int | `3` | |
8282
| tempo.readinessProbe.httpGet.path | string | `"/ready"` | |
8383
| tempo.readinessProbe.httpGet.port | int | `3100` | |

charts/tempo/templates/service.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
apiVersion: v1
32
kind: Service
43
metadata:
@@ -47,6 +46,3 @@ spec:
4746
{{- end }}
4847
selector:
4948
{{- include "tempo.selectorLabels" . | nindent 4 }}
50-
51-
52-

charts/tempo/templates/servicemonitor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
33
kind: ServiceMonitor
44
metadata:
55
name: {{ template "tempo.fullname" . }}
6+
namespace: {{ .Release.Namespace }}
67
labels:
78
app: {{ template "tempo.name" . }}
89
chart: {{ template "tempo.chart" . }}

charts/tempo/values.yaml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,30 @@ tempo:
4848
# -- If true, enables Tempo's metrics generator (https://grafana.com/docs/tempo/next/metrics-generator/)
4949
enabled: false
5050
remoteWriteUrl: "http://prometheus.monitoring:9090/api/v1/write"
51-
# -- Configuration options for the ingester
51+
# -- Configuration options for the ingester.
52+
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#ingester
5253
ingester: {}
53-
# -- Configuration options for the querier
54+
# flush_check_period: 10s
55+
# trace_idle_period: 10s
56+
# max_block_duration: 30m
57+
# complete_block_timeout: 1h
58+
# -- Configuration options for the querier.
59+
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#querier
5460
querier: {}
55-
# -- Configuration options for the query-fronted
61+
# max_concurrent_queries: 20
62+
# -- Configuration options for the query-fronted.
63+
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#query-frontend
5664
queryFrontend: {}
65+
# search:
66+
# concurrent_jobs: 2000
5767
retention: 24h
5868
# Global overrides
5969
global_overrides:
6070
per_tenant_override_config: /conf/overrides.yaml
6171
overrides: {}
6272

63-
# Tempo server configuration
64-
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
73+
# Tempo server configuration.
74+
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#server
6575
server:
6676
# -- HTTP server listen port
6777
http_listen_port: 3100
@@ -86,8 +96,8 @@ tempo:
8696
successThreshold: 1
8797
storage:
8898
trace:
89-
# tempo storage backend
90-
# refer https://grafana.com/docs/tempo/latest/configuration/
99+
# tempo storage backend.
100+
# Refers to: https://grafana.com/docs/tempo/latest/configuration/#storage
91101
## Use s3 for example
92102
# backend: s3
93103
# store traces in s3
@@ -185,7 +195,7 @@ tempoQuery:
185195
pullPolicy: IfNotPresent
186196
## Optionally specify an array of imagePullSecrets.
187197
## Secrets must be manually created in the namespace.
188-
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
198+
## Refers to: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
189199
##
190200
# pullSecrets:
191201
# - myRegistryKeySecretName

0 commit comments

Comments
 (0)