|
4 | 4 |
|
5 | 5 | :_mod-docs-content-type: REFERENCE
|
6 | 6 | [id="distr-tracing-tempo-config-default_{context}"]
|
7 |
| -= Default configuration options |
| 7 | += Introduction to TempoStack configuration parameters |
8 | 8 |
|
9 |
| -The `TempoStack` custom resource (CR) defines the architecture and settings to be used when creating the {TempoShortName} resources. You can modify these parameters to customize your {TempoShortName} implementation to your business needs. |
| 9 | +The `TempoStack` custom resource (CR) defines the architecture and settings for creating the {TempoShortName} resources. You can modify these parameters to customize your implementation to your business needs. |
10 | 10 |
|
11 |
| -.Example of a generic Tempo YAML file |
| 11 | +.Example `TempoStack` CR |
12 | 12 | [source,yaml]
|
13 | 13 | ----
|
14 |
| -apiVersion: tempo.grafana.com/v1alpha1 |
15 |
| -kind: TempoStack |
16 |
| -metadata: |
17 |
| - name: name |
18 |
| -spec: |
19 |
| - storage: {} |
20 |
| - resources: {} |
21 |
| - storageSize: 200M |
22 |
| - replicationFactor: 1 |
23 |
| - retention: {} |
| 14 | +apiVersion: tempo.grafana.com/v1alpha1 # <1> |
| 15 | +kind: TempoStack # <2> |
| 16 | +metadata: # <3> |
| 17 | + name: <name> # <4> |
| 18 | +spec: # <5> |
| 19 | + storage: {} # <6> |
| 20 | + resources: {} # <7> |
| 21 | + replicationFactor: 1 # <8> |
| 22 | + retention: {} # <9> |
24 | 23 | template:
|
25 |
| - distributor:{} |
26 |
| - ingester: {} |
27 |
| - compactor: {} |
28 |
| - querier: {} |
29 |
| - queryFrontend: {} |
30 |
| - gateway: {} |
| 24 | + distributor: {} # <10> |
| 25 | + ingester: {} # <11> |
| 26 | + compactor: {} # <12> |
| 27 | + querier: {} # <13> |
| 28 | + queryFrontend: {} # <14> |
| 29 | + gateway: {} # <15> |
| 30 | + limits: # <16> |
| 31 | + global: |
| 32 | + ingestion: {} # <17> |
| 33 | + query: {} # <18> |
| 34 | + observability: # <19> |
| 35 | + grafana: {} |
| 36 | + metrics: {} |
| 37 | + tracing: {} |
| 38 | + search: {} # <20> |
| 39 | +managementState: managed # <21> |
31 | 40 | ----
|
32 |
| - |
33 |
| -.Tempo parameters |
34 |
| -[options="header"] |
35 |
| -[cols="a, a, a, a"] |
36 |
| -|=== |
37 |
| -|Parameter |Description |Values |Default value |
38 |
| - |
39 |
| -|`apiVersion:` |
40 |
| -|API version to use when creating the object. |
41 |
| -|`tempo.grafana.com/v1alpha1` |
42 |
| -|`tempo.grafana.com/v1alpha1` |
43 |
| - |
44 |
| -|`kind:` |
45 |
| -|Defines the kind of Kubernetes object to create. |
46 |
| -|`tempo` |
47 |
| -| |
48 |
| - |
49 |
| -|`metadata:` |
50 |
| -|Data that uniquely identifies the object, including a `name` string, `UID`, and optional `namespace`. |
51 |
| -| |
52 |
| -|{product-title} automatically generates the `UID` and completes the `namespace` with the name of the project where the object is created. |
53 |
| - |
54 |
| -|`name:` |
55 |
| -|Name for the object. |
56 |
| -|Name of your TempoStack instance. |
57 |
| -|`tempo-all-in-one-inmemory` |
58 |
| - |
59 |
| -|`spec:` |
60 |
| -|Specification for the object to be created. |
61 |
| -|Contains all of the configuration parameters for your TempoStack instance. When a common definition for all Tempo components is required, it is defined under the `spec` node. When the definition relates to an individual component, it is placed under the `spec/template/<component>` node. |
62 |
| -|N/A |
63 |
| - |
64 |
| -|`resources:` |
65 |
| -|Resources assigned to the TempoStack instance. |
66 |
| -| |
67 |
| -| |
68 |
| - |
69 |
| -|`storageSize:` |
70 |
| -|Storage size for ingester PVCs. |
71 |
| -| |
72 |
| -| |
73 |
| - |
74 |
| -|`replicationFactor:` |
75 |
| -|Configuration for the replication factor. |
76 |
| -| |
77 |
| -| |
78 |
| - |
79 |
| -|`retention:` |
80 |
| -|Configuration options for retention of traces. |
81 |
| -| |
82 |
| -| |
83 |
| - |
84 |
| -|`storage:` |
85 |
| -|Configuration options that define the storage. All storage-related options must be placed under `storage` and not under the `allInOne` or other component options. |
86 |
| -| |
87 |
| -| |
88 |
| - |
89 |
| -|`template.distributor:` |
90 |
| -|Configuration options for the Tempo `distributor`. |
91 |
| -| |
92 |
| -| |
93 |
| - |
94 |
| -|`template.ingester:` |
95 |
| -|Configuration options for the Tempo `ingester`. |
96 |
| -| |
97 |
| -| |
98 |
| - |
99 |
| -|`template.compactor:` |
100 |
| -|Configuration options for the Tempo `compactor`. |
101 |
| -| |
102 |
| -| |
103 |
| - |
104 |
| -|`template.querier:` |
105 |
| -|Configuration options for the Tempo `querier`. |
106 |
| -| |
107 |
| -| |
108 |
| - |
109 |
| -|`template.queryFrontend:` |
110 |
| -|Configuration options for the Tempo `query-frontend`. |
111 |
| -| |
112 |
| -| |
113 |
| - |
114 |
| -|`template.gateway:` |
115 |
| -|Configuration options for the Tempo `gateway`. |
116 |
| -| |
117 |
| -| |
118 |
| - |
119 |
| -|=== |
120 |
| - |
121 |
| - |
122 |
| - |
123 |
| -.Minimum required configuration |
124 |
| - |
125 |
| -The following is the required minimum for creating a {TempoShortName} deployment with the default settings: |
126 |
| - |
127 |
| -[source,yaml] |
128 |
| ----- |
129 |
| -apiVersion: tempo.grafana.com/v1alpha1 |
130 |
| -kind: TempoStack |
131 |
| -metadata: |
132 |
| - name: simplest |
133 |
| -spec: |
134 |
| - storage: # <1> |
135 |
| - secret: |
136 |
| - name: minio |
137 |
| - type: s3 |
138 |
| - resources: |
139 |
| - total: |
140 |
| - limits: |
141 |
| - memory: 2Gi |
142 |
| - cpu: 2000m |
143 |
| - template: |
144 |
| - queryFrontend: |
145 |
| - jaegerQuery: |
146 |
| - enabled: true |
147 |
| - ingress: |
148 |
| - type: route |
149 |
| ----- |
150 |
| -<1> This section specifies the deployed object storage back end, which requires a created secret with credentials for access to the object storage. |
| 41 | +<1> API version to use when creating the object. |
| 42 | +<2> Defines the kind of Kubernetes object to create. |
| 43 | +<3> Data that uniquely identifies the object, including a `name` string, `UID`, and optional `namespace`. {product-title} automatically generates the `UID` and completes the `namespace` with the name of the project where the object is created. |
| 44 | +<4> Name of the TempoStack instance. |
| 45 | +<5> Contains all of the configuration parameters of the TempoStack instance. When a common definition for all Tempo components is required, define it in the `spec` section. When the definition relates to an individual component, place it in the `spec.template.<component>` section. |
| 46 | +<6> Storage is specified at instance deployment. See the installation page for information about storage options for the instance. |
| 47 | +<7> Defines the compute resources for the Tempo container. |
| 48 | +<8> Configuration for the replication factor. |
| 49 | +<9> Configuration options for retention of traces. |
| 50 | +<10> Configuration options for the Tempo `distributor` component. |
| 51 | +<11> Configuration options for the Tempo `ingester` component. |
| 52 | +<12> Configuration options for the Tempo `compactor` component. |
| 53 | +<13> Configuration options for the Tempo `querier` component. |
| 54 | +<14> Configuration options for the Tempo `query-frontend` component. |
| 55 | +<15> Configuration options for the Tempo `gateway` component. |
| 56 | +<16> Limits ingestion and query rates. |
| 57 | +<17> Defines ingestion rate limits. |
| 58 | +<18> Defines query rate limits. |
| 59 | +<19> Configures operands to handle telemetry data. |
| 60 | +<20> Configures search capabilities. |
| 61 | +<21> Defines whether or not this CR is managed by the Operator. The default value is `managed`. |
0 commit comments