Skip to content

Grafana billing dashboard #26

Open

Description

@lsdosar

Greetings!
I want to thank you guys, for the awesome project. It is exactly what I was looking for

If someone, by chance, has an example or ready-made Grafana billing dashboard, could you please share it?
Thank you so much

Activity

  1. mblaschke commented on Mar 18, 2023

    @mblaschke
    Member

    with next version this might be difficult as you have to define your own queries for cost reporting.

    it also depends what you need/want.

  2. theok-nice commented on Mar 21, 2023

    @theok-nice

    @mblaschke will next version we have the option to continue pull all cost metrics - in stead of queries for cost?

    When it comes to graphs, its much more practical to generate and experiment with the prom queries in grafana, having all data available.

    Using azure-resourcemanager-exporter:22.12.0-beta4 and

      SCRAPE_TIME_COSTS: "5m"
      COSTS_REQUEST_DELAY: "30s"
    

    I have achieved a "balance" where I don't hit any rate limits for cost. Having all data in Prometheus we can experiment and generate useful dashboards.

  3. mblaschke commented on Mar 21, 2023

    @mblaschke
    Member

    @theok-nice
    The "legacy" option is using a fixed query which might not be that useful for metrics depends what your use case it.

    The plan is to only offer queries so you can/have to define what metrics you want. That's what's already available in the beta versions.

    So to get the current version you might want something like:
    COSTS_QUERY_resourceGroup=ResourceGroupName
    which gives you the list of costs per resourcegroup.

    The new version is also caching costs either on local disc (eg. PVC) or can store the data in a storageaccount. With caching you could set scrape time of cost query to 12 or 24h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions