Skip to content

Commit

Permalink
feat: use env var for LOKI_GATEWAY_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoataoldotcom authored Apr 6, 2023
1 parent b8b827e commit 1129e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sync.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import json
import os
import requests
import yaml
from http.server import BaseHTTPRequestHandler, HTTPServer


LOKI_GATEWAY_URL = 'http://loki-gateway.glueops-core-loki.svc.cluster.local'
LOKI_GATEWAY_URL = os.environ['LOKI_GATEWAY_URL']
LOKI_POST_HEADERS = {"Content-Type": "application/yaml"}


Expand Down

0 comments on commit 1129e6c

Please sign in to comment.