mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
Standardize YAML formatting (#9142)
## What changed? Adds and integrates `yamlfmt` (Go-based, by Google). Anything not annotated was changed by `yamlfmt`. ## Why? Consistent YAML formatting. Reduce unrelated diffs caused by formatting in PRs. ## How did you test it? - [ ] built - [ ] run locally and tested manually - [x] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: "Temporal"
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: file
|
||||
disableDeletion: false
|
||||
editable: true
|
||||
options:
|
||||
path: /etc/grafana/provisioning/temporalio-dashboards
|
||||
- name: "Temporal"
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: file
|
||||
disableDeletion: false
|
||||
editable: true
|
||||
options:
|
||||
path: /etc/grafana/provisioning/temporalio-dashboards
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus-Linux
|
||||
type: prometheus
|
||||
url: http://localhost:9090
|
||||
access: proxy
|
||||
isDefault: true
|
||||
- name: Prometheus-Darwin
|
||||
type: prometheus
|
||||
url: http://prometheus:9090
|
||||
access: proxy
|
||||
isDefault: false
|
||||
- name: Tempo-Linux
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: http://localhost:3200
|
||||
isDefault: false
|
||||
- name: Tempo-Darwin
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: http://tempo:3200
|
||||
isDefault: false
|
||||
- name: Prometheus-Linux
|
||||
type: prometheus
|
||||
url: http://localhost:9090
|
||||
access: proxy
|
||||
isDefault: true
|
||||
- name: Prometheus-Darwin
|
||||
type: prometheus
|
||||
url: http://prometheus:9090
|
||||
access: proxy
|
||||
isDefault: false
|
||||
- name: Tempo-Linux
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: http://localhost:3200
|
||||
isDefault: false
|
||||
- name: Tempo-Darwin
|
||||
type: tempo
|
||||
access: proxy
|
||||
url: http://tempo:3200
|
||||
isDefault: false
|
||||
|
||||
@@ -24,17 +24,17 @@ query_frontend:
|
||||
trace_by_id:
|
||||
duration_slo: 100ms
|
||||
metrics:
|
||||
max_duration: 120h # maximum duration of a metrics query, increase for local setups
|
||||
max_duration: 120h # maximum duration of a metrics query, increase for local setups
|
||||
query_backend_after: 5m
|
||||
duration_slo: 5s
|
||||
throughput_bytes_slo: 1.073741824e+09
|
||||
|
||||
distributor:
|
||||
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
|
||||
jaeger: # the receives all come from the OpenTelemetry collector. more configuration information can
|
||||
protocols: # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver
|
||||
thrift_http: #
|
||||
grpc: # for a production deployment you should only enable the receivers you need!
|
||||
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
|
||||
jaeger: # the receives all come from the OpenTelemetry collector. more configuration information can
|
||||
protocols: # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver
|
||||
thrift_http: #
|
||||
grpc: # for a production deployment you should only enable the receivers you need!
|
||||
thrift_binary:
|
||||
thrift_compact:
|
||||
zipkin:
|
||||
@@ -45,11 +45,11 @@ distributor:
|
||||
opencensus:
|
||||
|
||||
ingester:
|
||||
max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally
|
||||
max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally
|
||||
|
||||
compactor:
|
||||
compaction:
|
||||
block_retention: 24h # overall Tempo trace retention. set for demo purposes
|
||||
block_retention: 24h # overall Tempo trace retention. set for demo purposes
|
||||
|
||||
metrics_generator:
|
||||
registry:
|
||||
@@ -70,9 +70,9 @@ metrics_generator:
|
||||
|
||||
storage:
|
||||
trace:
|
||||
backend: local # backend configuration to use
|
||||
backend: local # backend configuration to use
|
||||
wal:
|
||||
path: /var/tempo/wal # where to store the wal locally
|
||||
path: /var/tempo/wal # where to store the wal locally
|
||||
local:
|
||||
path: /var/tempo/blocks
|
||||
|
||||
@@ -80,4 +80,4 @@ overrides:
|
||||
defaults:
|
||||
metrics_generator:
|
||||
processors: [service-graphs, span-metrics, local-blocks] # enables metrics generator
|
||||
generate_native_histograms: both
|
||||
generate_native_histograms: both
|
||||
|
||||
@@ -13,4 +13,4 @@ scrape_configs:
|
||||
- job_name: tempo
|
||||
static_configs:
|
||||
- targets:
|
||||
- host.docker.internal:3200
|
||||
- host.docker.internal:3200
|
||||
|
||||
@@ -13,4 +13,4 @@ scrape_configs:
|
||||
- job_name: tempo
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost:3200
|
||||
- localhost:3200
|
||||
|
||||
Reference in New Issue
Block a user