-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
オブジェクトストレージ対応 #86
Comments
一部ソースコードの修正が必要なものの、https://github.com/ribbybibby/s3_exporter を用いることで以下のようなメトリクスが取得できる。
実行方法$ AWS_ACCESS_KEY_ID="token AWS_SECRET_ACCESS_KEY="secret" AWS_REGION=jp-north-1 ./s3_exporter --s3.force-path-style --s3.endpoint-url="https://s3.isk01.sakurastorage.jp" # バケット foobar の場合
curl 'http://localhost:9340/probe?bucket=foobar' 修正箇所https://github.com/ribbybibby/s3_exporter/blob/d5fe50c9ebae5c5130ddd345536d486b5088469e/s3_exporter.go#L129 if resp.NextContinuationToken == nil || *resp.NextContinuationToken == "" { このためsakuracloud_exporterで対応しなくても良さそう。 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from #78
The text was updated successfully, but these errors were encountered: