Skip to content

chore: send redis failure metric always - #2342

Merged
chandumlg merged 1 commit into
developfrom
chore.redis-metric-send-always
Jul 6, 2023
Merged

chandumlg merged 1 commit into
developfrom
chore.redis-metric-send-always

Conversation

@chandumlg

Copy link
Copy Markdown
Member

Description of the change

Sending redis failure alert always.
Reason: For redis failure alerts to work properly, we need to init the metric on server start. Instead of initing, sending the metric always. There shouldn't be any impact as such.

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 review from a team as code owners July 5, 2023 23:52
@chandumlg
chandumlg requested review from koladilip and mihir-4116 July 5, 2023 23:52
@sonarqubecloud

sonarqubecloud Bot commented Jul 5, 2023

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

40.0% 40.0% Coverage
0.0% 0.0% Duplication

@codecov

codecov Bot commented Jul 5, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 40.00% and no project coverage change.

Comparison is base (fc725f4) 87.15% compared to head (753214a) 87.15%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2342   +/-   ##
========================================
  Coverage    87.15%   87.15%           
========================================
  Files          490      490           
  Lines        25440    25442    +2     
  Branches      6301     6301           
========================================
+ Hits         22173    22175    +2     
  Misses        2899     2899           
  Partials       368      368           
Impacted Files Coverage Δ
src/util/prometheus.js 7.07% <0.00%> (ø)
src/v0/sources/shopify/util.js 97.34% <80.00%> (+0.04%) ⬆️

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

@chandumlg
chandumlg merged commit ddc2f3f into develop Jul 6, 2023
@chandumlg
chandumlg deleted the chore.redis-metric-send-always branch July 6, 2023 16:02
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.

3 participants