Skip to content

Conversation

halspang
Copy link
Contributor

@halspang halspang commented Jan 9, 2023

Description

Resiliency was being loaded before the actual metric views/fields were being init. This caused the Resiliency init metric to be lost. This commit moves the init up a bit to go before Resiliency.

#5711

Signed-off-by: halspang halspang@microsoft.com

Issue reference

Please reference the issue this PR will close: #5711

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

@halspang halspang requested review from a team as code owners January 9, 2023 22:06
@ItalyPaleAle
Copy link
Contributor

Please fix the linter issues then LGTM

@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Merging #5730 (9cf8a50) into master (3a0d1c1) will decrease coverage by 0.52%.
The diff coverage is 0.00%.

❗ Current head 9cf8a50 differs from pull request most recent head fb9b316. Consider uploading reports for the commit fb9b316 to get more accurate results

@@            Coverage Diff             @@
##           master    #5730      +/-   ##
==========================================
- Coverage   65.33%   64.80%   -0.53%     
==========================================
  Files         151      151              
  Lines       15697    15851     +154     
==========================================
+ Hits        10255    10273      +18     
- Misses       4723     4858     +135     
- Partials      719      720       +1     
Impacted Files Coverage Δ
pkg/runtime/cli.go 1.54% <0.00%> (-0.06%) ⬇️
pkg/runtime/runtime.go 67.34% <ø> (+0.17%) ⬆️
pkg/actors/actors.go 59.54% <0.00%> (-5.35%) ⬇️
pkg/messaging/direct_messaging.go 30.61% <0.00%> (-4.01%) ⬇️
pkg/runtime/pubsub/subscriptions.go 70.91% <0.00%> (-1.05%) ⬇️
pkg/config/configuration.go 67.05% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

ItalyPaleAle
ItalyPaleAle previously approved these changes Jan 9, 2023
mukundansundar
mukundansundar previously approved these changes Jan 10, 2023
DeepanshuA
DeepanshuA previously approved these changes Jan 10, 2023
@mukundansundar mukundansundar added the autoupdate DaprBot will keep the Pull Request up to date with master branch label Jan 10, 2023
Resiliency was being loaded before the actual metric views/fields
were being init. This caused the Resiliency init metric to be lost.
This commit moves the init up a bit to go before Resiliency.

dapr#5711

Signed-off-by: halspang <halspang@microsoft.com>
@daixiang0 daixiang0 merged commit fb7aebb into dapr:master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoupdate DaprBot will keep the Pull Request up to date with master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dapr_runtime_resiliency_loaded reported before metrics initialized
5 participants