-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
110 lines (89 loc) · 4.15 KB
/
Copy path.env.example
File metadata and controls
110 lines (89 loc) · 4.15 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# =============================================================================
# TelemetryFlow Collector - Environment Variables (v1.3.0)
# =============================================================================
# Copy this file to .env and update the values as needed
# =============================================================================
# -----------------------------------------------------------------------------
# Build Configuration
# -----------------------------------------------------------------------------
VERSION=1.3.0
GIT_COMMIT=unknown
GIT_BRANCH=main
BUILD_TIME=unknown
OTEL_VERSION=0.152.0
# -----------------------------------------------------------------------------
# Container Configuration
# -----------------------------------------------------------------------------
CONTAINER_NAME=tfo-collector
IMAGE_NAME=telemetryflow/telemetryflow-collector
IMAGE_TAG=1.3.0
# -----------------------------------------------------------------------------
# Network Configuration
# -----------------------------------------------------------------------------
# OTLP gRPC receiver port
OTLP_GRPC_PORT=4317
# OTLP HTTP receiver port (v1 + v2 endpoints)
OTLP_HTTP_PORT=4318
# Prometheus metrics port (self-observability)
METRICS_PORT=8888
# Prometheus exporter port
PROMETHEUS_EXPORTER_PORT=8889
# Health check port
HEALTH_PORT=13133
# zPages debugging port
ZPAGES_PORT=55679
# pprof profiling port
PPROF_PORT=1777
# -----------------------------------------------------------------------------
# TFO Auth Extension (tfoauth) - For v2 Authenticated Endpoints
# -----------------------------------------------------------------------------
# API Key ID - format: tfk_xxx (required for v2 endpoints and tfo exporter)
TELEMETRYFLOW_API_KEY_ID=tfk_your_key_id_here
# API Key Secret - format: tfs_xxx (required for v2 endpoints and tfo exporter)
TELEMETRYFLOW_API_KEY_SECRET=tfs_your_key_secret_here
# TelemetryFlow Platform endpoint (for tfo exporter)
TELEMETRYFLOW_ENDPOINT=https://api.telemetryflow.id
# -----------------------------------------------------------------------------
# TFO Identity Extension (tfoidentity) - Collector Identity
# -----------------------------------------------------------------------------
# Unique collector identifier (auto-generated if empty)
TELEMETRYFLOW_COLLECTOR_ID=
# Human-readable collector name
TELEMETRYFLOW_COLLECTOR_NAME=TelemetryFlow Collector
# Deployment environment (production, staging, development)
TELEMETRYFLOW_ENVIRONMENT=production
# Datacenter or region identifier
TELEMETRYFLOW_DATACENTER=default
# -----------------------------------------------------------------------------
# Sentry (via OTLP) - Optional, replaces the removed vulnerable sentryexporter
# -----------------------------------------------------------------------------
# Get these from Sentry → Settings → Projects → <project> → Client Keys (DSN).
# SENTRY_ORG_SLUG is your Sentry organization slug (URL path on sentry.io).
# SENTRY_DSN_KEY is the project's PUBLIC DSN key, not your privileged auth token.
# Leave both empty to disable Sentry export (also remove otlphttp/sentry from
# the traces pipeline in configs/tfo-collector.yaml).
SENTRY_ORG_SLUG=
SENTRY_DSN_KEY=
SENTRY_SERVICE_NAME=telemetryflow-collector
# -----------------------------------------------------------------------------
# Processing Configuration
# -----------------------------------------------------------------------------
BATCH_SIZE=8192
BATCH_TIMEOUT=200ms
MEMORY_LIMIT_PERCENTAGE=80
# -----------------------------------------------------------------------------
# Logging Configuration
# -----------------------------------------------------------------------------
LOG_LEVEL=info
LOG_FORMAT=json
# -----------------------------------------------------------------------------
# Resource Limits (Docker)
# -----------------------------------------------------------------------------
MEMORY_LIMIT=2G
CPU_LIMIT=2.0
# -----------------------------------------------------------------------------
# Queue Configuration (Persistent)
# -----------------------------------------------------------------------------
QUEUE_ENABLED=true
QUEUE_PATH=/var/lib/tfo-collector/queue
QUEUE_MAX_SIZE_MB=500