Metrics
Galexie publishes metrics through an HTTP-based admin endpoint, which makes it easier to monitor its performance. The data is exposed in Prometheus format, enabling easy integration with existing monitoring and alerting systems. The admin port where these metrics are served can be configured by setting theadmin_port variable. By default, the admin_port is set to 6061
galexie_last_exported_ledger: The sequence number of the most recently exported ledger.galexie_uploader_put_duration_seconds: The time taken to upload objects to the data lake.galexie_uploader_object_size_bytes: Compressed and uncompressed sizes of the objects being uploaded.galexie_upload_queue_length: Number of objects currently queued and waiting to be uploaded.
galexie_ingest_ledger_fetch_duration_seconds
Use these metrics to build queries that monitor Galexie’s performance and export process. Here are a few examples of useful queries:
- Export Times: Query
galexie_uploader_put_duration_secondsto monitor average upload times. - Queue Length: Use
galexie_upload_queue_lengthto view the number of objects waiting to be uploaded. - Latest Exported Ledger: Track
galexie_last_exported_ledgerto ensure that ledger exports are up-to-date.