Skip to content

Distributor failing to accept valid metric names #7086

Closed

Description

@anna-tran

Describe the bug
When remote writing a metric such as "foo:bar", distributor fails with

failed to perform remote write. code: 400; message: sample invalid metric name: "foo:bar"

The : should be accepted in metric names.

To Reproduce
Steps to reproduce the behavior:

  1. Start Cortex v1.20.0-rc.0
  2. Remote write data with metric names including :

Expected behavior
No error on ingestion

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: Helm

Additional Context

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions