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

Unrecovereable error when remote writing NGINX Ingress metrics #267

Open
bittermandel opened this issue Jan 19, 2021 · 2 comments
Open

Unrecovereable error when remote writing NGINX Ingress metrics #267

bittermandel opened this issue Jan 19, 2021 · 2 comments

Comments

@bittermandel
Copy link

We have a basic installation of the sidecar together with the Prometheus Operator, and have configured the sidecar with the following flags:

args:
- --stackdriver.project-id=${PROJECT_ID}
- --prometheus.wal-directory=/prometheus/wal
- --stackdriver.kubernetes.location=${CLUSTER_REGION}
- --stackdriver.kubernetes.cluster-name=${CLUSTER_NAME}
- --include={__name__=~"nginx_.+"}

The metrics we are exporting are the default ones from https://github.com/kubernetes/ingress-nginx. This gives us the following error, about a few times per minute. This leads to no metrics being written to Stackdriver, while not giving a clear error.

Is there something we're missing when including metrics in that manner?

Thank you!

level=warn ts=2021-01-19T08:30:35.589Z caller=queue_manager.go:534 component=queue_manager msg="Unrecoverable error sending samples to remote storage" err="rpc error: co
de = InvalidArgument desc = Field timeSeries[36].points[0].distributionValue had an invalid value: Distribution |explicit_buckets.bounds| does not have at least one entr
y."
level=warn ts=2021-01-19T08:30:35.622Z caller=queue_manager.go:534 component=queue_manager msg="Unrecoverable error sending samples to remote storage" err="rpc error: co
de = InvalidArgument desc = Field timeSeries[7].points[0].distributionValue had an invalid value: Distribution |explicit_buckets.bounds| does not have at least one entry
."
level=warn ts=2021-01-19T08:30:35.651Z caller=queue_manager.go:534 component=queue_manager msg="Unrecoverable error sending samples to remote storage" err="rpc error: co
de = InvalidArgument desc = Field timeSeries[0].points[0].distributionValue had an invalid value: Distribution |explicit_buckets.bounds| does not have at least one entry
."
@bittermandel
Copy link
Author

I have a feeling it is caused by the bucket metrics, which have over 10 labels. Unsuccessful to filter them out using --include{__name__!~".+bucket", __name__=~"nginx_.+"}

@jsirianni
Copy link

@bittermandel were you able to resolve this? I think I have a similar issue with the following args

    args:
    - "--stackdriver.project-id=<project>"
    - "--prometheus.wal-directory=/prometheus/wal"
    - "--stackdriver.kubernetes.location=us-east1-b"
    - "--stackdriver.kubernetes.cluster-name=<cluster name>"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants