fix: signoz
This commit is contained in:
@@ -174,7 +174,7 @@ services:
|
|||||||
- /sys:/hostfs/sys:ro
|
- /sys:/hostfs/sys:ro
|
||||||
- /:/hostfs:ro
|
- /:/hostfs:ro
|
||||||
environment:
|
environment:
|
||||||
OTEL_RESOURCE_ATTRIBUTES: host.name=signoz-host,os.type=linux
|
OTEL_RESOURCE_ATTRIBUTES: host.name=vps,os.type=linux
|
||||||
LOW_CARDINAL_EXCEPTION_GROUPING: false
|
LOW_CARDINAL_EXCEPTION_GROUPING: false
|
||||||
HOST_PROC: /hostfs/proc
|
HOST_PROC: /hostfs/proc
|
||||||
HOST_SYS: /hostfs/sys
|
HOST_SYS: /hostfs/sys
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ receivers:
|
|||||||
otlp:
|
otlp:
|
||||||
protocols:
|
protocols:
|
||||||
grpc:
|
grpc:
|
||||||
endpoint: 0.0.0.0:4317
|
endpoint: signoz:4317
|
||||||
http:
|
http:
|
||||||
endpoint: 0.0.0.0:4318
|
endpoint: signoz:4318
|
||||||
# hostmetrics:
|
# hostmetrics:
|
||||||
# root_path: /hostfs
|
# root_path: /hostfs
|
||||||
# scrapers:
|
# scrapers:
|
||||||
@@ -17,20 +17,20 @@ receivers:
|
|||||||
# process:
|
# process:
|
||||||
# processes:
|
# processes:
|
||||||
# paging:
|
# paging:
|
||||||
prometheus:
|
# prometheus:
|
||||||
config:
|
# config:
|
||||||
global:
|
# global:
|
||||||
scrape_interval: 60s
|
# scrape_interval: 60s
|
||||||
scrape_configs:
|
# scrape_configs:
|
||||||
- job_name: otel-collector
|
# - job_name: otel-collector
|
||||||
static_configs:
|
# static_configs:
|
||||||
- targets:
|
# - targets:
|
||||||
- localhost:8888
|
# - localhost:8888
|
||||||
labels:
|
# labels:
|
||||||
job_name: otel-collector
|
# job_name: otel-collector
|
||||||
postgresql:
|
postgresql:
|
||||||
# The endpoint of the postgresql server. Whether using TCP or Unix sockets, this value should be host:port. If transport is set to unix, the endpoint will internally be translated from host:port to /host.s.PGSQL.port
|
# The endpoint of the postgresql server. Whether using TCP or Unix sockets, this value should be host:port. If transport is set to unix, the endpoint will internally be translated from host:port to /host.s.PGSQL.port
|
||||||
endpoint: postgres:5432
|
endpoint: host.docker.internal:5432
|
||||||
# The frequency at which to collect metrics from the Postgres instance.
|
# The frequency at which to collect metrics from the Postgres instance.
|
||||||
collection_interval: 60s
|
collection_interval: 60s
|
||||||
# The username used to access the postgres instance
|
# The username used to access the postgres instance
|
||||||
@@ -102,7 +102,7 @@ receivers:
|
|||||||
# value: postgres
|
# value: postgres
|
||||||
redis:
|
redis:
|
||||||
# The hostname and port of the Redis instance, separated by a colon.
|
# The hostname and port of the Redis instance, separated by a colon.
|
||||||
endpoint: "redis:6379"
|
endpoint: "host.docker.internal:6379"
|
||||||
# The frequency at which to collect metrics from the Redis instance.
|
# The frequency at which to collect metrics from the Redis instance.
|
||||||
collection_interval: 60s
|
collection_interval: 60s
|
||||||
# # The password used to access the Redis instance; must match the password specified in the requirepass server configuration option.
|
# # The password used to access the Redis instance; must match the password specified in the requirepass server configuration option.
|
||||||
|
|||||||
Reference in New Issue
Block a user