Skip to content

EdsCache Client Metrics#111

Merged
japoorv merged 2 commits intomainfrom
edscache_metric
Jul 9, 2021
Merged

EdsCache Client Metrics#111
japoorv merged 2 commits intomainfrom
edscache_metric

Conversation

@japoorv
Copy link
Copy Markdown

@japoorv japoorv commented Jul 9, 2021

Description

Currently we have no metrics for the various cache used in EdsCacheClient.
Adding metrics for them.

Testing

The metrics are directly exported to Prometheus. Hence, there are no tests performed for this. Since the tests for the meter registry are already is place in the service-framework.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@japoorv japoorv requested review from a team, kotharironak and laxmanchekka July 9, 2021 06:09
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 9, 2021

Codecov Report

Merging #111 (765d05c) into main (200095f) will increase coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #111      +/-   ##
============================================
+ Coverage     59.64%   59.74%   +0.09%     
  Complexity      296      296              
============================================
  Files            39       39              
  Lines          2964     2971       +7     
  Branches        368      368              
============================================
+ Hits           1768     1775       +7     
  Misses         1025     1025              
  Partials        171      171              
Flag Coverage Δ
integration 59.74% <100.00%> (+0.09%) ⬆️
unit 39.84% <100.00%> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ace/entity/data/service/client/EdsCacheClient.java 84.93% <100.00%> (+1.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 200095f...765d05c. Read the comment docs.

@github-actions

This comment has been minimized.

@japoorv japoorv merged commit 88a7e4c into main Jul 9, 2021
@japoorv japoorv deleted the edscache_metric branch July 9, 2021 07:54
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 9, 2021

Unit Test Results

  30 files  ±0    30 suites  ±0   19s ⏱️ -6s
141 tests ±0  141 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 88a7e4c. ± Comparison against base commit 200095f.

suddendust pushed a commit to suddendust/entity-service that referenced this pull request Sep 5, 2025
…ypertrace#111)

* feat: add support for creatTime and lastUpdateTime

* fetch the createTime if document exists

* add support of modifying last updated time for subdoc path

* removed commented code

* addressed comments

* Fixed the integration test

* addressed comments
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