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

Cant see the costs tab #46

Open
onepabz opened this issue May 18, 2023 · 3 comments
Open

Cant see the costs tab #46

onepabz opened this issue May 18, 2023 · 3 comments

Comments

@onepabz
Copy link

onepabz commented May 18, 2023

Hi there,

Thanks for the awesome work you guys are doing with coroot!

Im running the latest version of coroot (0.17.0) and the latest node-agent version (1.8.1).

I can see in prometheus that the metric node_cloud_info exists and is being exported properly by the node-adent.

But still I cant see the costs tab in the GUI:

Screenshot 2023-05-18 at 12 10 08

Ive used the helm charts for installing it.
What am I doing wrong?

Thanks

@apetruhin
Copy link
Member

@onepabz, could you please provide several samples of the node_cloud_info metric?

@onepabz
Copy link
Author

onepabz commented May 18, 2023

There you go

node_cloud_info{account_id="redacted", availability_zone="us-east1-b", container="node-agent", endpoint="http", instance="10.5.100.171:80", instance_id="redacted", job="coroot/coroot-node-agent", machine_id="redacted", namespace="coroot", pod="coroot-node-agent-p2w7t", provider="GCP", region="us-east1"}
--

node_cloud_info{account_id="redacted", availability_zone="us-east1-c", container="node-agent", endpoint="http", instance="10.5.85.23:80", instance_id="redacted", job="coroot/coroot-node-agent", machine_id="redacted", namespace="coroot", pod="coroot-node-agent-4fthp", provider="GCP", region="us-east1"}

thanks @apetruhin

@def
Copy link
Member

def commented May 18, 2023

@onepabz, it appears that your cluster has metadata protection configured: https://cloud.google.com/kubernetes-engine/docs/how-to/protecting-cluster-metadata
The agent requires access to metadata in order to discover instance_type and instance_lifecycle (on-demand/preemptible)

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

3 participants