Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Investigate options to reduce labels per series #1

Description

@davidusken

Thank you very much for providing a great SimpleMDM Prometheus Exporter! I was just doing some testing and realized that one of the series, simplemdm_device_info has a total of 79 labels. The default limit of Mimir is 30, however this can be increased. Regardless, it would probably make sense to look into reducing the amount of labels per series and instead increase the amount of series (at least that seems to be the way that many other exporters do it)

│ prometheus-server ts=2024-09-20T07:16:01.439Z caller=dedupe.go:112 component=remote level=error remote_name= │
│ 34b569 url=https://mimir.net/api/v1/push msg="non-recoverable error" failedSampleCount=2000 fail │
│ edHistogramCount=0 failedExemplarCount=0 err="server returned HTTP status 400 Bad Request: received a series │
│  whose number of labels exceeds the limit (actual: 79, limit: 30) series: 'simplemdm_device_info{app_kuberne │
│ tes_io_name=\"simplemdm-exporter\", available_device_capacity=\"32.0\", bluetooth_mac=\"\", │
│  build_version=\"\", carrier_settings_version=\"None\", cellular…' (err-mimir-max-label-names-per-ser   │
│ ies). To adjust the related per-tenant limit, configure -validation.max-label-names-per-series, or contact y │
│ our service administrator.\n"

Like I said, the limit can just be increased so feel free to close if not interested, just some general feedback :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions