forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metrics] Fixed metrics with no required tags currently being blackho…
…le'd (ray-project#36298) Currently, Metric implementation requires you to specify tag_keys of the tags that have to be recorded. However it also does NOT allow you to record additional tags on top of the ones you have provided during creation. This is problematic since it couples metric creation with its usage: you can't, say add new tags to metric usage w/o updating its definition (which might be in a separate module, library, etc) One straightforward example: if you haven't specified any tag_keys during metric creation it's impossible for you to add any tags during recording. Proposal: Treat tag_keys as only a set of required tags (ie allow additional tags to be specified during recording)
- Loading branch information
1 parent
ccfcb21
commit 63e1586
Showing
2 changed files
with
81 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters