Skip to content

fix: prometheus metrics errors - #2168

Merged
sanpj2292 merged 2 commits into
developfrom
fix.metric-errors
May 12, 2023
Merged

sanpj2292 merged 2 commits into
developfrom
fix.metric-errors

Conversation

@chandumlg

Copy link
Copy Markdown
Member

Description of the change

Adds
a. missing labels to the prometheus metrics
b. new metric to the metrics array
c. inc -> histogram for histogram metric type

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@chandumlg
chandumlg requested a review from a team May 12, 2023 03:40
koladilip
koladilip previously approved these changes May 12, 2023
@codecov

codecov Bot commented May 12, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch and project coverage have no change.

Comparison is base (b86b211) 87.94% compared to head (0656c2b) 87.94%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2168   +/-   ##
========================================
  Coverage    87.94%   87.94%           
========================================
  Files          510      510           
  Lines        25823    25823           
  Branches      6396     6396           
========================================
  Hits         22709    22709           
  Misses        2782     2782           
  Partials       332      332           
Impacted Files Coverage Δ
src/util/prometheus.js 7.69% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sonarqubecloud

Copy link
Copy Markdown

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

@sanpj2292
sanpj2292 merged commit ccd911a into develop May 12, 2023
@sanpj2292
sanpj2292 deleted the fix.metric-errors branch May 12, 2023 07:47
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.

5 participants