-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.yaml
More file actions
47 lines (46 loc) · 1.7 KB
/
Copy pathconfig.yaml
File metadata and controls
47 lines (46 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# DO NOT EDIT THIS FILE DIRECTLY.
# Overrides can be done by env vars or setting in the .env file.
spanner:
project_id: SPANNER_PROJECT_ID
instance_id: SPANNER_INSTANCE_ID
database_name: SPANNER_DATABASE_ID
query_limit: 100
dynamo_query_limit: 100
Session:
# Minimum number of sessions that Spanner pool will always maintain by the session pool.
min: 100
# Maximum number of sessions that Spanner pool will have.
max: 200
# Number of channels utilized by the Spanner client.
grpcChannels: 4
otel:
# Set enabled to true or false for OTEL metrics and traces
enabled: false
# Whether or not to enable client side metrics (such as sessions, gfe latency etc.)
enabledClientSideMetrics: true
# Name of the collector service to be setup as a sidecar
serviceName: OTEL_SERVICENAME
healthcheck:
# Enable the health check in this proxy application config only if the
# "health_check" extension is added to the OTEL collector service configuration.
#
# Recommendation:
# Enable the OTEL health check if you need to verify the collector's availability
# at the start of the application. For development or testing environments, it can
# be safely disabled to reduce complexity.
# Enable/Disable Health Check for OTEL
enabled: false
# Health check endpoint for the OTEL collector service
endpoint: OTEL_HEALTHCHECK_ENDPOINT
metrics:
# Collector service endpoint
enabled: false
endpoint: OTEL_METRICS_ENDPOINT
traces:
# Collector service endpoint
enabled: false
endpoint: OTEL_TRACES_ENDPOINT
#Sampling ratio should be between 0 and 1. Here 0.05 means 5/100 Sampling ratio.
samplingRatio: 1
gin_mode: release
log_level: info