grafana / cloudcost-exporter

Prometheus Exporter for Cloud Provider agnostic cost metrics
Apache License 2.0
66 stars 4 forks source link

Azure AKS Collector Skeleton #208

Closed logyball closed 4 months ago

logyball commented 4 months ago

Implementing the scaffolding for the AKS collector.

Important points:

❯ ./cloudcost-exporter --provider azure --server.address "127.0.0.1:8080" --azure.services "aks"
time=2024-06-24T13:55:09.194-04:00 level=INFO msg="Starting cloudcost-exporter" version="(version=v0.1.4-2-g041dd70-dirty, branch=logyball/azure-implement-aks-collector-skeleton, revision=041dd70)" build_context="(go=go1.22.0, platform=darwin/arm64, user=loganballard@Logans-Laptop.local, date=2024-06-24T17:46:52Z, tags=unknown)"
time=2024-06-24T13:55:09.195-04:00 level=INFO msg="registering collectors for azure" azure.NumOfCollectors=1
time=2024-06-24T13:55:09.195-04:00 level=INFO msg="registering aks collector"
time=2024-06-24T13:55:09.195-04:00 level=INFO msg="Starting server" address=127.0.0.1:8080 path=/metrics