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

Getting error when running exporter inside OCP #49

Open
ankurnema opened this issue Feb 22, 2021 · 0 comments
Open

Getting error when running exporter inside OCP #49

ankurnema opened this issue Feb 22, 2021 · 0 comments

Comments

@ankurnema
Copy link

Hello,

I tried to deploy exporter inside Openshift and getting following error

time="2021-02-22T19:06:15Z" level=info msg="Collecting cluster metrics..." source="cluster.go:262"
time="2021-02-22T19:06:15Z" level=info msg="Collecting tasks metrics..." source="task.go:125"
time="2021-02-22T19:06:15Z" level=info msg="Collecting buckets metrics..." source="bucket.go:1432"
time="2021-02-22T19:06:15Z" level=info msg="Collecting nodes metrics..." source="node.go:173"
time="2021-02-22T19:06:15Z" level=error msg="failed to scrape buckets" error="failed to get buckets: failed to get /pools/default/buckets metrics: Not found. 404" source="bucket.go:1437"
time="2021-02-22T19:06:15Z" level=error msg="failed to scrape tasks" error="failed to get tasks: failed to get /pools/default/tasks metrics: Not found. 404" source="task.go:130"
time="2021-02-22T19:06:15Z" level=error msg="failed to scrape nodes" error="failed to get nodes: failed to get /pools/nodes metrics: Not found. 404" source="node.go:178"
time="2021-02-22T19:06:15Z" level=error msg="failed to scrape cluster" error="failed to get cluster: failed to get /pools/default metrics: Not found. 404" source="cluster.go:267"

In my setup, I am trying to connect to couchbase cluster which is outside Openshift Cluster and deployed on a vm.

When I run binary on a VM and connect to same couchbase cluster, I am getting all metrics. But not when I am using image.

Version: 1.6.0

Not sure, what am I doing wrong. Can some one help?

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

1 participant