[RUM-8098] Support for configuration schema updates for time based strategy of TNS and INV metrics#2505
Conversation
7b04104 to
a6144c6
Compare
RUM-8098: post-review fixes
a6144c6 to
3a55504
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2505 +/- ##
===========================================
+ Coverage 69.97% 70.02% +0.04%
===========================================
Files 794 794
Lines 29857 29875 +18
Branches 4988 4991 +3
===========================================
+ Hits 20892 20918 +26
- Misses 7574 7578 +4
+ Partials 1391 1379 -12
|
| @InternalApi | ||
| enum class Key( | ||
| val string: String | ||
| private val string: String |
There was a problem hiding this comment.
Can you elaborate the purpose of make it private and expose it by toString() function? it seems the main change of this PR, but I don't read the explanation in the description
There was a problem hiding this comment.
Yep, this change shadowed main purpose a bit. The idea behind this change is to reduce duplicity of the LocalProperty.Key object's propee. As all java/kotlin objects has toString method by default. I just missed this fact in the previous PR and noticed that making sting property public makes no sense.
What does this PR do?
Adds support for INV and TNS time-based thresholds if they used for metric collection
Small side effect on LocalAttribute - making
stringfield privateReview checklist (to be filled by reviewers)