In the root of your project, add .gitlab-ci.yml
with the configuration below.
image: node:latest
stages:
import logging | |
from logi_handler import LokiHandler | |
LOKI_URL: str = "http://loki:3100/loki/api/v1/push" # Standard loki url | |
logger = logging.getLogger(__name__) | |
loki_handler = LokiHandler(url=LOKI_URL) |