Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/bytes-1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TennyZhuang authored Sep 8, 2023
2 parents f615cb3 + df0af3d commit a74e0b6
Show file tree
Hide file tree
Showing 68 changed files with 8,428 additions and 902 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick-to-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
types: ["closed"]
types: ["closed", "labeled"]

jobs:
release_pull_request_1_1:
Expand Down
11 changes: 6 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker/dashboards/risingwave-dev-dashboard.json

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions grafana/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
]
)


class Layout:

def __init__(self):
Expand Down Expand Up @@ -198,10 +199,10 @@ def timeseries_latency(self,
)

def timeseries_latency_ms(self,
title,
description,
targets,
legendCols=["mean"]):
title,
description,
targets,
legendCols=["mean"]):
gridPos = self.layout.next_half_width_graph()
return TimeSeries(
title=title,
Expand Down Expand Up @@ -525,7 +526,8 @@ def metric(name, filter=None, node_filter_enabled=True, table_id_filter_enabled=
if risingwave_name_filter_enabled:
filters.append("risingwave_name=~\"$instance\"")
if table_id_filter_enabled:
filters.append("table_id=~\"$table\"")
# We use "%table|" instead of "%table" here to match empty string for the table_id filter
filters.append("table_id=~\"$table|\"")
if node_filter_enabled:
filters.append("job=~\"$job\"")
filters.append("instance=~\"$node\"")
Expand All @@ -534,6 +536,7 @@ def metric(name, filter=None, node_filter_enabled=True, table_id_filter_enabled=
else:
return name


def table_metric(name, filter=None):
return metric(name, filter, True, True)

Expand Down
Loading

0 comments on commit a74e0b6

Please sign in to comment.