Skip to content

Billing "metrics-usage" needs updating for Cortex blocks #2714

Description

@bboreham

Note this is informational, not used in calculation of charges.

The billing-metrics program has a query to fetch Cortex storage usage:

m.queryAndEmit(ctx, now, "storage-bytes", "-cortex", `sum by (user)(increase(cortex_ingester_chunk_stored_bytes_total{job="cortex/ingester"}[1m])) or sum by (user)(increase(cortex_chunk_store_stored_chunk_bytes_total{job="cortex/ingester"}[1m]))`)

this is chunks-specific, and the query is returning zero now we have moved to blocks.

Activity

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

    chorerefinement/improvement of end user functionality; making things work bettercomponent/billing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions