Skip to content

Proposal to fix adding new dimensions to existing metrics

Heinz N. Gies requested to merge fix-new-tags into master

Created by: szarsti

I run into a problem when there was new tag, or if you prefer meta-data introduced to existing metric. New tags are just silently dropped in current implementation.

It is so, because current posgresql query is not returning metric id when new tags are added to a metric that is already in database.

I am not postgresql expert. A workaround I found seems a bit dirty. Maybe you know better solution. The only other way I could think of, would be treating a case of conflict separately and run additional query to get id.

Merge request reports