Skip to content

InfluxDB error: max-values-per-tag limit exceeded #27

Open
@tiltec

Description

@tiltec

After long-term use, this error appears on almost every request:

400: {"error":"partial write: max-values-per-tag limit exceeded (100000/100000): measurement=\"django_request\" tag=\"full_path\" value=\"/api/pickup-dates/20369/\" dropped=1"}

The full_path tag can vary much if there's IDs in the URL. While it would be possible to increase the limit via configuration parameter, it might be better to change something about the storage pattern. It appears that having many different tag values is not recommended.

I made a quick fix by removing the full_path and path tags from written data.
A better way would be to write the URL pattern as tag and the actual path as field.

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