-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
System Metrics
SeaweedFS uses Prometheus to store the metrics and Grafana to visualize them.
SeaweedFS supports both push and pull metrics.
SeaweedFS can publish metrics to Prometheus Push Gateway, and the gateway pass along to the Prometheus server.
Master | Volume Server | Filer => Prometheus Push Gateway => Prometheus Server => Grafana
Note: Setting Prometheus, push gateway, and Grafana can be simplified with this https://github.com/evnsio/prom-stack
Just add a metrics address to weed master
or weed server
command line options. If you have multiple masters, please add it to all the master command line options.
weed master -metrics.address=<protocol><prometheus_gateway_host_name>:<prometheus_gateway_port>
# example
weed master -metrics.address=localhost:9091 # Defaults to http://localhost:9091
weed master -metrics.address=https://example.com
weed server -metrics.address=<protocol><prometheus_gateway_host_name>:<prometheus_gateway_port>
# example
weed server -metrics.address=localhost:9091 # Defaults to http://localhost:9091
weed server -metrics.address=https://example.com
The SeaweedFS filer or volume servers will read this metrics configuration from the master, and report the metrics directly to the Prometheus Gateway. Filer and volume servers need to be restarted for the changes to take effect.
SeaweedFS can also start with ports accepting Prometheus metrics queries.
weed server -metricsPort=1234
weed master -metricsPort=1235
weed volume -metricsPort=1236
weed filer -metricsPort=1237
Note: All server should be running on different ports for accepting prometheus metrics queries.
And then you can configure your Prometheus to crawl them periodically.
The dashboard is shared at https://github.com/seaweedfs/seaweedfs/blob/master/other/metrics/grafana_seaweedfs.json
If you modify the dashboard, please share your revisions.
- Replication
- Store file with a Time To Live
- Failover Master Server
- Erasure coding for warm storage
- Server Startup Setup
- Environment Variables
- Filer Setup
- Directories and Files
- Data Structure for Large Files
- Filer Data Encryption
- Filer Commands and Operations
- Filer JWT Use
- Filer Cassandra Setup
- Filer Redis Setup
- Super Large Directories
- Path-Specific Filer Store
- Choosing a Filer Store
- Customize Filer Store
- Migrate to Filer Store
- Add New Filer Store
- Filer Store Replication
- Filer Active Active cross cluster continuous synchronization
- Filer as a Key-Large-Value Store
- Path Specific Configuration
- Filer Change Data Capture
- Cloud Drive Benefits
- Cloud Drive Architecture
- Configure Remote Storage
- Mount Remote Storage
- Cache Remote Storage
- Cloud Drive Quick Setup
- Gateway to Remote Object Storage
- Amazon S3 API
- AWS CLI with SeaweedFS
- s3cmd with SeaweedFS
- rclone with SeaweedFS
- restic with SeaweedFS
- nodejs with Seaweed S3
- S3 API Benchmark
- S3 API FAQ
- S3 Bucket Quota
- S3 API Audit log
- S3 Nginx Proxy
- Docker Compose for S3
- Hadoop Compatible File System
- run Spark on SeaweedFS
- run HBase on SeaweedFS
- run Presto on SeaweedFS
- Hadoop Benchmark
- HDFS via S3 connector
- Async Replication to another Filer [Deprecated]
- Async Backup
- Async Filer Metadata Backup
- Async Replication to Cloud [Deprecated]
- Kubernetes Backups and Recovery with K8up