Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Loki label to LOGS_LABEL in .env #1445

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ WEB3SIGNER=false
# Whether to explicitly enable IPv6 P2P. In use only for Lighthouse. See also v6-network.yml
IPV6=false

#LOGGING SECTION
#SERVER_LABEL_HOSTNAME=serverlabelhere
# Promtail logs label, something unique like the server name
LOGS_LABEL=eth-docker

# Secure web proxy - advanced use, please see instructions
DOMAIN=example.com
Expand Down
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ envmigrate() {
fi

ALL_VARS=( COMPOSE_FILE FEE_RECIPIENT EL_NODE GRAFFITI DEFAULT_GRAFFITI NETWORK MEV_BOOST MEV_RELAYS MEV_MIN_BID MEV_NODE \
CL_MAX_PEER_COUNT CL_MIN_PEER_COUNT EL_MAX_PEER_COUNT EL_MIN_PEER_COUNT DOMAIN ACME_EMAIL AUTOPRUNE_NM \
CL_MAX_PEER_COUNT CL_MIN_PEER_COUNT EL_MAX_PEER_COUNT EL_MIN_PEER_COUNT DOMAIN ACME_EMAIL AUTOPRUNE_NM LOGS_LABEL \
CF_DNS_API_TOKEN CF_ZONE_API_TOKEN CF_ZONE_ID AWS_PROFILE AWS_HOSTED_ZONE_ID GRAFANA_HOST DISTRIBUTED BESU_HEAP TEKU_HEAP \
PROM_HOST HOST_IP PRYSM_HOST EE_HOST EL_HOST EL_LB EL_WS_HOST EL_WS_LB CL_HOST CL_LB DDNS_SUBDOMAIN IPV6 \
DDNS_PROXY RAPID_SYNC_URL CL_NODE BEACON_STATS_API BEACON_STATS_MACHINE EL_P2P_PORT CL_P2P_PORT WEB3SIGNER \
Expand Down
2 changes: 1 addition & 1 deletion grafana-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ services:
entrypoint: ./etc/promtail/entrypoint.sh
command: ["/usr/bin/promtail"]
environment:
SERVER_LABEL_HOSTNAME: ${SERVER_LABEL_HOSTNAME:-notset}
SERVER_LABEL_HOSTNAME: ${LOGS_LABEL:-notset}
restart: "unless-stopped"
<<: *logging

Expand Down
2 changes: 1 addition & 1 deletion grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
entrypoint: ./etc/promtail/entrypoint.sh
command: ["/usr/bin/promtail"]
environment:
SERVER_LABEL_HOSTNAME: ${SERVER_LABEL_HOSTNAME:-notset}
SERVER_LABEL_HOSTNAME: ${LOGS_LABEL:-notset}
restart: "unless-stopped"
depends_on:
- loki
Expand Down