-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
80 lines (74 loc) · 3.12 KB
/
Copy pathexample.env
File metadata and controls
80 lines (74 loc) · 3.12 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# ticketmaster2kafka configuration — copy this file to `.env`.
#
# The blank values below (credentials and the Ticketmaster API key) must be
# supplied; everything else is pre-filled with the deployment's defaults.
# ---- Kafka (where messages are produced) --------------------------------
KAFKA_BOOTSTRAP=
KAFKA_USER=
KAFKA_PASSWORD=
KAFKA_CA_LOCATION=strimzi-ca.crt
# Or supply the broker CA as an inline PEM string instead of a file path
# (takes precedence over KAFKA_CA_LOCATION when set):
# KAFKA_CA_CERT=
KAFKA_SECURITY_PROTOCOL=SASL_SSL
KAFKA_SASL_MECHANISM=SCRAM-SHA-512
KAFKA_TOPIC_BASENAME=nashville-tm
# ---- Postgres / TimescaleDB (where rows are written) --------------------
DB_HOST=
DB_PORT=5432
DB_DBNAME=NDOT
DB_USER=
DB_PASSWORD=
# Hypertable created by ticketmaster_tables.sql.
DB_TABLE=laddms.tm_events
# ---- Service settings ---------------------------------------------------
SERVICE_NAME=ticketmaster2kafka
TM_BASE_URL=https://app.ticketmaster.com
HTTP_TIMEOUT_S=30
# Poll cadence, in minutes.
TM_POLL_MINS=60
# ---- Ticketmaster Discovery API -----------------------------------------
TICKETMASTER_API_KEY=
TM_PAGE_SIZE=200
TM_COUNTRY_CODE=US
# Forward-looking window (days) used when no absolute bounds are given.
TM_WINDOW_DAYS=28
# Absolute bounds; when set they win over TM_WINDOW_DAYS.
# TM_START_ISO=
# TM_END_ISO=
# Extra query params, comma separated: "classificationName=music,city=Nashville"
# TM_EXTRA_PARAMS=
# ---- Telemetry ----------------------------------------------------------
# Logs (JSON on stdout) and the Prometheus /metrics endpoint are on
# automatically. The whole toggle set is listed below so it is visible in one
# place; every line is commented out and shows the value the connector uses
# when it is left unset.
# TELEMETRY_METRICS=true
# TELEMETRY_METRICS_PORT=9100
# TELEMETRY_METRICS_ADDR=0.0.0.0
# TELEMETRY_LOG_LEVEL=INFO
#
# Profiling: activate to record where your code spends its CPU time (shows up
# as flame graphs in Grafana). Off by default — flip TELEMETRY_PROFILING to
# true, point TELEMETRY_PYROSCOPE_SERVER at the Pyroscope endpoint, and fill in
# the write password below.
# TELEMETRY_PROFILING=false
# TELEMETRY_PYROSCOPE_SERVER=https://lvtelemetry.isis.vanderbilt.edu/pyroscope
#
# Tracing: off by default. Flip TELEMETRY_TRACING to true to export OTLP/HTTP
# spans; auth reuses TELEMETRY_WRITE_USER / TELEMETRY_WRITE_PASSWORD below. The
# collector endpoint is deployment-specific — fill in the URL for your
# environment. The sample rate is a float in [0,1]; 1.0 records every span.
# TELEMETRY_TRACING=false
# TELEMETRY_OTLP_ENDPOINT=https://lvtelemetry.isis.vanderbilt.edu/otlp/v1/traces
# TELEMETRY_TRACE_SAMPLE_RATE=1.0
#
# TELEMETRY_WRITE_USER=ingest
# TELEMETRY_WRITE_PASSWORD=
#
# NOTE: TELEMETRY_WRITE_USER / TELEMETRY_WRITE_PASSWORD are not
# profiling-only, and they are not dead. They are the shared lvtelemetry
# `ingest` push credential used by every push path (profiles and traces), and
# they are also what lv_telemetry_connector's dev/metrics-sidecar consumes via
# --env-file when a developer scrapes a CLI-run service. Keep them declared
# even when profiling and tracing are both off.