coroot icon indicating copy to clipboard operation
coroot copied to clipboard

Cant see the costs tab

Open onepabz opened this issue 2 years ago • 3 comments

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

onepabz avatar May 18 '23 10:05 onepabz

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

apetruhin avatar May 18 '23 10:05 apetruhin

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

onepabz avatar May 18 '23 10:05 onepabz

@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)

def avatar May 18 '23 15:05 def