mirror of
https://github.com/reonokiy/compose.git
synced 2025-06-15 13:12:54 +02:00
update
This commit is contained in:
parent
4548ff398d
commit
47f64bf6fb
3 changed files with 11 additions and 20 deletions
|
@ -13,6 +13,7 @@ services:
|
|||
DB_CONNECTION_URI: postgres://infisical:${POSTGRES_PASSWORD:-infisical}@postgres:5432/infisical
|
||||
REDIS_URL: redis://redis:6379
|
||||
SITE_URL: ${SITE_URL:-http://localhost}
|
||||
TELEMETRY_ENABLED: false
|
||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-6c1fe4e407b8911c104518103505b218}
|
||||
AUTH_SECRET: ${AUTH_SECRET:-5lrMXKKWCVocS/uerPsl7V+TX/aaUaI7iDkgl3tSmLE=}
|
||||
# SMTP_HOST: ${SMTP_HOST}
|
||||
|
@ -45,7 +46,7 @@ services:
|
|||
|
||||
postgres:
|
||||
container_name: postgres
|
||||
image: postgres:${POSTGRES_VERSION:-14-alpine}
|
||||
image: postgres:${POSTGRES_VERSION:-14}
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: infisical
|
||||
|
|
|
@ -23,9 +23,9 @@ services:
|
|||
restart: always
|
||||
command: [ "--config", "/etc/vector/vector.toml" ]
|
||||
environment:
|
||||
OTEL_URI: ${OTEL_URI}
|
||||
OTEL_USER: ${OTEL_USER}
|
||||
OTEL_PASSWORD: ${OTEL_PASSWORD}
|
||||
OTLP_URI: ${OTLP_URI}
|
||||
OTLP_USER: ${OTLP_USER}
|
||||
OTLP_PASSWORD: ${OTLP_PASSWORD}
|
||||
volumes:
|
||||
- ${VECTOR_CONFIG_PATH:-./vector.toml}:/etc/vector/vector.toml:ro
|
||||
- ${DATA_DIR:-./data}/vector:/var/lib/vector:Z
|
||||
|
|
|
@ -11,22 +11,12 @@ include_containers = ["openobserve"]
|
|||
type = "prometheus_scrape"
|
||||
endpoints = ["http://openobserve:5080/metrics"]
|
||||
|
||||
[sinks.otel_logs]
|
||||
[sinks.observe_nokiy_net]
|
||||
type = "opentelemetry"
|
||||
encoding = "json"
|
||||
inputs = ["observe_nokiy_net_logs"]
|
||||
inputs = ["observe_nokiy_net_logs", "observe_nokiy_net_metrics"]
|
||||
protocol.type = "http"
|
||||
protocol.uri = "${OTEL_URI}"
|
||||
protocol.uri = "${OTLP_URI}/api/default"
|
||||
protocol.auth.strategy = "basic"
|
||||
protocol.auth.user = "${OTEL_USER}"
|
||||
protocol.auth.password = "${OTEL_PASSWORD}"
|
||||
protocol.compression = "zstd"
|
||||
|
||||
|
||||
# [sinks.otel_metrics]
|
||||
# type = "opentelemetry"
|
||||
# inputs = ["my-source-or-transform-id"]
|
||||
|
||||
# [sinks.otel_traces]
|
||||
# type = "opentelemetry"
|
||||
# inputs = ["my-source-or-transform-id"]
|
||||
protocol.auth.user = "${OTLP_USER}"
|
||||
protocol.auth.password = "${OTLP_PASSWORD}"
|
||||
protocol.headers.stream-name = "observe_nokiy_net"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue