Skip to content

Commit

Permalink
Cherrypick in #35408
Browse files Browse the repository at this point in the history
Signed-off-by: Lonnie Liu <[email protected]>
  • Loading branch information
aslonnie committed Jun 15, 2023
1 parent 128cf37 commit 7d69312
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,6 @@ def max_plus_pending(max_resource, pending_resource):
name="DEFAULT",
default_uid="rayDefaultDashboard",
panels=DEFAULT_GRAFANA_PANELS,
standard_global_filters=['SessionName="$SessionName"'],
standard_global_filters=['SessionName=~"$SessionName"'],
base_json_file_name="default_grafana_dashboard_base.json",
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"templating": {
"list": [
{
"allValue": null,
"allValue": ".+",
"current": {
"selected": false
},
Expand All @@ -34,7 +34,7 @@
"description": "Filter queries to specific ray sessions.",
"error": null,
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": null,
"multi": false,
"name": "SessionName",
Expand Down
2 changes: 1 addition & 1 deletion python/ray/tests/test_metrics_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_metrics_folder_with_dashboard_override(
for panel in contents["panels"]:
for target in panel["targets"]:
# Check for standard_global_filters
assert 'SessionName="$SessionName"' in target["expr"]
assert 'SessionName=~"$SessionName"' in target["expr"]
# Check for custom global_filters
assert global_filters in target["expr"]
for variable in contents["templating"]["list"]:
Expand Down

0 comments on commit 7d69312

Please sign in to comment.