How to use s3 upload to minio? #190
-
gdg:0.4.5 My config:
I run:
Output:
How to use s3 upload in minio? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 4 replies
-
Technically Minio/Ceph isn't supported yet. I am using Minio in a test case, but I had to write some custom code to get that working. I need to make that a bit more generic for general consumption. You can see if there's anything useful in the lib GDG is using: ttps://github.com/google/go-cloud or the S3 specific driver which is invoked when you set the type to S3. Otherwise, will have to wait till I have some cycles to add Minio support. |
Beta Was this translation helpful? Give feedback.
-
Here's a few more references: google/go-cloud#3240 I asked the question a while back. https://software.es.net/gdg/docs/gdg/cloud_configuration/ more info. Also, the access_key and secret_key are no longer supported. You should be configuring your bucket via AWS tools and GDG will pick up the auth information from there. |
Beta Was this translation helpful? Give feedback.
-
@DimentR next release will address this change. Waiting on the code review and that should get be the last ticket for 0.5.0 to be released with this change. |
Beta Was this translation helpful? Give feedback.
-
These are the instructions on how to set it up @DimentR https://software.es.net/gdg/docs/gdg/cloud_configuration/#custom Update: https://software.es.net/gdg/docs/gdg/configuration/storage/ is probably the better URL since the last one is a 404 now. |
Beta Was this translation helpful? Give feedback.
-
still need an instruction, can locally upload and download dashboards to grafana, and from grafana |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Let me know if you need more help, beyond the answer provided: here |
Beta Was this translation helpful? Give feedback.
-
@safaci2000 maybe ima kinda stupid, but what i need is: i press the the thing, or maybe even doing some automated job and what happened next is -> grafan dashboards -> going to mine s3 minio bucket, this is what i need, im testing rn it on localhost, so dont really care bout the credentials, so here they are: context_name: testing
storage_engine:
test:
self_hosted: true
kind: cloud
cloud_type: s3
prefix: dummy
bucket_name: "grafana-backups"
access_id: "admin_user_root"
secret_key: "admin_user_admin"
init_bucket: "true"
endpoint: "http://minio:9000"
ssl_enabled: "false"
contexts:
testing:
url: "http://grafana:3000"
user_name: "admin"
password: "admin"
dashboard_settings:
ignore_filters: false
nested_folders: true
watched:
- Test
output_path: grafana-backups
global:
debug: true
api_debug: false
clear_output: false
retry_count: 3
retry_delay: 5s
ignore_ssl_errors: true i have everything in docker, and all the things are in mine docker network monitoring, the thing is right now all the dashboards are going to local directory on mine machine, while i need it to save it right to the minio, yea i might need the functionality to backup from minio, if mine grafana is down, but thats another part which i dont really need right now. so can you please give me some advice what im doing wrong with mine config, and why its keepin saving on mine machine, but not in the minio sadly, i already did a systemd job, which is doing curl +X PUT to the minio from the local directory but thats kinda suck most of the setting are vanilla, if you need some more information, surely let me know, id like to give u all the info if it will help |
Beta Was this translation helpful? Give feedback.
These are the instructions on how to set it up @DimentR https://software.es.net/gdg/docs/gdg/cloud_configuration/#custom
Update: https://software.es.net/gdg/docs/gdg/configuration/storage/ is probably the better URL since the last one is a 404 now.