Skip to content

Commit

Permalink
Merge branch 'master' into fix-scaleio
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-v authored Nov 23, 2022
2 parents e6fda78 + 2874260 commit 3ce4591
Show file tree
Hide file tree
Showing 16 changed files with 3,420 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/delfin_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ jobs:
strategy:
max-parallel: 6
matrix:
platform:
- ubuntu-18.04
platform: [ubuntu-18.04, ubuntu-20.04]
python-version: [ 3.6, 3.7, 3.8 ]

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/delfin_e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ jobs:
strategy:
max-parallel: 6
matrix:
platform:
- ubuntu-18.04
platform: [ubuntu-18.04, ubuntu-20.04]
python-version: [ 3.6 ]

steps:
Expand Down
18 changes: 18 additions & 0 deletions delfin/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ class StorageMetric:
RESPONSE_TIME = Metrics.RESPONSE_TIME
READ_RESPONSE_TIME = Metrics.READ_RESPONSE_TIME
WRITE_RESPONSE_TIME = Metrics.WRITE_RESPONSE_TIME
CACHE_HIT_RATIO = Metrics.CACHE_HIT_RATIO
READ_CACHE_HIT_RATIO = Metrics.READ_CACHE_HIT_RATIO
WRITE_CACHE_HIT_RATIO = Metrics.WRITE_CACHE_HIT_RATIO


class StoragePoolMetric:
Expand All @@ -503,6 +506,11 @@ class StoragePoolMetric:
READ_THROUGHPUT = Metrics.READ_THROUGHPUT
WRITE_THROUGHPUT = Metrics.WRITE_THROUGHPUT
RESPONSE_TIME = Metrics.RESPONSE_TIME
READ_RESPONSE_TIME = Metrics.READ_RESPONSE_TIME
WRITE_RESPONSE_TIME = Metrics.WRITE_RESPONSE_TIME
CACHE_HIT_RATIO = Metrics.CACHE_HIT_RATIO
READ_CACHE_HIT_RATIO = Metrics.READ_CACHE_HIT_RATIO
WRITE_CACHE_HIT_RATIO = Metrics.WRITE_CACHE_HIT_RATIO


class VolumeMetric:
Expand Down Expand Up @@ -545,6 +553,11 @@ class PortMetric:
READ_THROUGHPUT = Metrics.READ_THROUGHPUT
WRITE_THROUGHPUT = Metrics.WRITE_THROUGHPUT
RESPONSE_TIME = Metrics.RESPONSE_TIME
READ_RESPONSE_TIME = Metrics.READ_RESPONSE_TIME
WRITE_RESPONSE_TIME = Metrics.WRITE_RESPONSE_TIME
CACHE_HIT_RATIO = Metrics.CACHE_HIT_RATIO
READ_CACHE_HIT_RATIO = Metrics.READ_CACHE_HIT_RATIO
WRITE_CACHE_HIT_RATIO = Metrics.WRITE_CACHE_HIT_RATIO


class DiskMetric:
Expand All @@ -556,6 +569,11 @@ class DiskMetric:
READ_THROUGHPUT = Metrics.READ_THROUGHPUT
WRITE_THROUGHPUT = Metrics.WRITE_THROUGHPUT
RESPONSE_TIME = Metrics.RESPONSE_TIME
READ_RESPONSE_TIME = Metrics.READ_RESPONSE_TIME
WRITE_RESPONSE_TIME = Metrics.WRITE_RESPONSE_TIME
CACHE_HIT_RATIO = Metrics.CACHE_HIT_RATIO
READ_CACHE_HIT_RATIO = Metrics.READ_CACHE_HIT_RATIO
WRITE_CACHE_HIT_RATIO = Metrics.WRITE_CACHE_HIT_RATIO


class FileSystemMetric:
Expand Down
Empty file.
Empty file.
Loading

0 comments on commit 3ce4591

Please sign in to comment.