Skip to content

Commit

Permalink
Adding MINIO_REPORT_METRICS option on deployment to enable bandwidth/…
Browse files Browse the repository at this point in the history
…iops collection
  • Loading branch information
nsarras committed Nov 29, 2023
1 parent c60d819 commit a4b9cd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
# minio_nkv_checksum: 1
# minio_ulimit: 1048576
# minio_nkv_max_meta_size: 8192
# minio_report_metrics: false

### DCQCN Defaults
# dcqcn_roce_cc_prio_mask_p1: 8
Expand Down
1 change: 1 addition & 0 deletions roles/start_dss_minio/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ minio_nkv_shared: 1
minio_nkv_checksum: 1
minio_ulimit: 1048576
minio_nkv_max_meta_size: 8192
minio_report_metrics: false

### VLAN defaults
rocev2_vlans:
Expand Down
3 changes: 3 additions & 0 deletions roles/start_dss_minio/templates/minio_startup.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export MINIO_ON_KV={{ minio_on_kv }}
export MINIO_DISABLE_EC={{ minio_disable_ec }}
export MINIO_KV_MAX_SIZE={{ minio_kv_max_size }}
export MINIO_NKV_MAX_META_SIZE={{ minio_nkv_max_meta_size }}
{% if minio_report_metrics %}
export MINIO_REPORT_METRICS=1
{% endif %}
{% if standalone_minio %}#{% endif %}export MINIO_NKV_SHARED={{ minio_nkv_shared }}
#export MINIO_NKV_CHECKSUM={{ minio_nkv_checksum }}
Expand Down

0 comments on commit a4b9cd5

Please sign in to comment.