-
Notifications
You must be signed in to change notification settings - Fork 62
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
Errors when initializing #10
Comments
I am also getting this error some times. Not sure if related
|
This might happen when you have double / |
You mean at the end? I don't have that Here's my config: def init_loki_handler():
loki_user = os.getenv("LOKI_USERNAME")
loki_password = os.getenv("LOKI_PASSWORD")
if loki_user and loki_password:
return logging_loki.LokiHandler(
url="https://logs-prod-us-central1.grafana.net/loki/api/v1/push",
tags={"application": "XXXXXXXXXXXXXXX},
auth=(loki_user, loki_password),
version="1",
)
else:
logger.warning(
f"No username and password provided for Loki. Use 'LOKI_USERNAME' and 'LOKI_PASSWORD'"
)
return None |
I also tried |
@cristianmtr i had the same error when used something like that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am seeing some errors in the console. This happens erratically
The text was updated successfully, but these errors were encountered: