-
Notifications
You must be signed in to change notification settings - Fork 808
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
Error no org id on endpoint https://xxxx/api/prom/push (ERROR 401) #1479
Comments
Hello, By default, Cortex requires you to set a tenant via the "X-Scope-OrgID" header. In our example k8s manifests, we use an nginx frontdoor to do this: https://github.com/cortexproject/cortex/blob/master/k8s/nginx-config.yaml#L28. I think Traefik is able to do something similar according to the docs. If you do not care about what the tenant value is you can also set a flag for |
Hello @csmarchbanks, Thanks for that tip. It works. But to implement a better solution latter, I can I send that OrgID? However, now I have a new problem in my ingester. This is the log that I get:
I think this is about DynamoDB. I'm using dynamodb-dep.yaml. Do I have to create some user? |
You cannot have Prometheus directly send the appropriate header. You would have to write some sort of service that takes an authorization header or user/password and maps it to the appropriate Header value. As far as the error goes it looks like the tables in dynamodb are not provisioned. Are you running the table-manager component? |
@csmarchbanks Yes I am |
Are there any errors coming from it? Also, what does your storage config look like? |
This is my table-manager logs:
|
I'm using all the files config. Didn't change anything |
Hello everyone.
I'm trying to implement Cortex in a k8s cluster. I already set up all the components, but my prometheus is giving me error logs:
This is my distributor log:
How can I resolve this issue? There are some Prometheus config missing? Or do I have to register my Prometheus deploy on distribute component? And if yes, how I do it?
If it helps this is my scenario:
Tanks for your help
The text was updated successfully, but these errors were encountered: