Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Single character label names are not parsed #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arslanm
Copy link

@arslanm arslanm commented Dec 26, 2018

pg_prometheus is unable to parse samples with single char label names which causes PostgreSQL/TimescaleDB to throw error: "ERROR: invalid input syntax for prometheus sample: Unexpected number of input items assigned: 1"

This commit fixes the sscanf() operation that parses the labels.

@CLAassistant
Copy link

CLAassistant commented Dec 26, 2018

CLA assistant check
All committers have signed the CLA.

@arslanm
Copy link
Author

arslanm commented Dec 26, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants