mirror of
https://github.com/minio/docs.git
synced 2025-07-31 18:04:52 +03:00
MinIO SERVER RELEASE.2024-01-05T22-17-24Z - added new metrics to github.com/minio/minio for later sync MinIO SERVER RELEASE.2024-01-28T22-35-53Z - MinIO preallocates memory, mc update compresses binary in transit MinIO SERVER RELEASE.2024-02-06T21-36-22Z - MinIO adds condition key for restricting STS AssumeRoleWithWebIdentity duration at policy level Closes #1124 , Partially addresses #1116 Partially Addresses #1105 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
19 lines
557 B
Bash
Executable File
19 lines
557 B
Bash
Executable File
#!/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
|
|
|
|
# Kludgy. Does csplit again on the Bucket Metrics file fragment
|
|
# Tried to get smart using `grep '^# [A-Za-z]` to get line numbers but got stuck
|
|
|
|
cat xx01 | csplit - /"# Resource Metrics"/
|
|
|
|
mv xx00 source/includes/common-metrics-bucket.md
|
|
mv xx01 source/includes/common-metrics-resource.md
|
|
}
|
|
|
|
main "$@" |