mirror of
https://github.com/minio/docs.git
synced 2025-08-06 14:42:56 +03:00
DOCS-987: Fixing prometheus metrics to pull from Minio Server docs list (#1003)
--------- Co-authored-by: Andrea Longo <feorlen@users.noreply.github.com>
This commit is contained in:
12
sync-minio-server-docs.sh
Executable file
12
sync-minio-server-docs.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
function main() {
|
||||
curl --retry 10 -Ls https://raw.githubusercontent.com/minio/minio/master/docs/metrics/prometheus/list.md | csplit - /"# Bucket Metrics"/
|
||||
mv xx00 source/includes/common-metrics-cluster.md
|
||||
mv xx01 source/includes/common-metrics-bucket.md
|
||||
}
|
||||
|
||||
main "$@"
|
Reference in New Issue
Block a user