Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the namespace relabelling for metrics in Vector #1101

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

adejanovski
Copy link
Contributor

What this PR does:
The remap was wrongfully setting .namespace instead of .tags.namespace in Vector's configuration. This led the metrics to be prefixed with the namespace instead of being labelled with it.
This PR fixes it:

Capture d’écran 2023-10-24 à 11 38 30

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@adejanovski adejanovski requested a review from a team as a code owner October 24, 2023 09:39
@adejanovski adejanovski force-pushed the fix/fix-namespace-label-metrics branch from e3fbbf5 to a8eebf5 Compare October 24, 2023 10:42
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #1101 (a8eebf5) into main (b8fdff4) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1101      +/-   ##
==========================================
- Coverage   57.39%   57.37%   -0.02%     
==========================================
  Files         100      100              
  Lines       10192    10192              
==========================================
- Hits         5850     5848       -2     
- Misses       3832     3833       +1     
- Partials      510      511       +1     
Files Coverage Δ
pkg/telemetry/vector.go 97.76% <100.00%> (ø)

... and 3 files with indirect coverage changes

@adejanovski adejanovski merged commit aa946fd into main Oct 24, 2023
22 of 59 checks passed
@adejanovski adejanovski deleted the fix/fix-namespace-label-metrics branch October 24, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants