Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Add safety check for label id existence to _prom_catalog.create_series #465

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

Conversation

JamesGuthrie
Copy link
Member

Description

It is possible that the Promscale connector could have an invalid cache
from label to label_id. This check ensures that we catch being an
invalid label_id being passed to create_series.

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR:

  • CHANGELOG entry for user-facing changes
  • Updated the relevant documentation

@JamesGuthrie JamesGuthrie force-pushed the jg/throw-if-labels-nonexistant branch 2 times, most recently from 0875545 to bf0f914 Compare August 17, 2022 06:57
@JamesGuthrie JamesGuthrie force-pushed the jg/throw-if-labels-nonexistant branch from bf0f914 to 6b51423 Compare November 30, 2022 13:49
It is possible that the Promscale connector could have an invalid cache
from label to label_id. This check ensures that we catch being an
invalid label_id being passed to `create_series`.
@JamesGuthrie JamesGuthrie force-pushed the jg/throw-if-labels-nonexistant branch from 6b51423 to 28f957c Compare November 30, 2022 16:07
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.

1 participant