Aleph

Prometheus Metrics

Aleph exposes information about its own state as Prometheus metrics. This page lists all avialable metrics.

System

aleph_system

Aleph version and FollowTheMoney version

Type: Info

ingestfile_system

ingest-file version

Type: Info

Users and feature usage

aleph_users

Number of (active) users (by locale). Use the active label to query for all users (active=all) or users that have been active within a specific time range (active=30d).

Type: Gauge

aleph_collection_categories

Number of collections by category

Type: Gauge

aleph_collection_countries

Number of collections by country. As a collection can be associated with multiple countries, the sum of this metric may be larger than the total number of collections.

Type: Gauge

aleph_collection_languages

Number of collections by language. As a collection can be associated with multiple languages, the sum of this metric may be larger than the total number of collections.

Type: Gauge

aleph_collection_users

Number of users that have created at least one collection

Type: Gauge

aleph_entities

Number of entities by FollowTheMoney schema

Type: Gauge

aleph_entitysets

Number of entity sets (by type)

Type: Gauge

aleph_entityset_users

Number of users that have created at least one entity set (by type)

Type: Gauge

aleph_bookmarks

Number of bookmarks

Type: Gauge

aleph_bookmark_users

Number of users that have created at least one bookmark

Type: Gauge

API

aleph_http_request_duration_seconds

Duration of requests to the Aleph API in seconds

Type: Histogram

aleph_http_requests_total

Total number of requests to the Aleph API

Type: Counter

aleph_streamed_entities_total

Total number of entities returned by the Aleph API streaming endpoint

Type: Counter

aleph_streams_total

Total number of requests to the Aleph API streaming endpoint

Type: Counter

Cross-referencing

aleph_xref_entities_total

Total number of entities that have been cross-referenced

Type: Counter

aleph_xref_matches

Number of matches per cross-referenced entity

Type: Histogram

aleph_xref_candidates_query_duration_seconds

Processing duration of the Elasticsearch query to fetch cross-referencing candidates for an entity (excluding network, serialization, etc.)

Type: Histogram

aleph_xref_candidates_query_roundtrip_duration_seconds

Roundtrip duration of the Elasticsearch query to fetch cross-referencing candidates for an entity (including network, serialization, etc.)

Type: Histogram

Authentication

aleph_auth_attempts

Number of authentication attempts (by results and authentication method)

Type: Counter

Queues

aleph_active_datasets

Number of datasets with active jobs

Type: Gauge

aleph_tasks

Number of pending and running tasks (by stage)

Type: Gauge

Workers

servicelayer_tasks_started_total

Number of tasks that a worker has started to process (by stage and number of retries)

Type: Counter

servicelayer_tasks_succeeded_total

Number of tasks that have been successfully processed (by stage and number of retries)

Type: Counter

servicelayer_tasks_failed_total

Number of tasks that have failed (by stage)

Type: Counter

servicelayer_task_duration_seconds

Processing duration for successfully processed tasks in seconds (by stage)

Type: Counter

Ingestion

ingestfile_ingestions_succeeded_total

Number of successful ingestions (by ingestor)

Type: Counter

ingestfile_ingestions_failed_total

Number of failed ingestions (by ingestor)

Type: Counter

ingestfile_ingestion_duration_seconds

Processing duration for successfully processed tasks in seconds (by ingestor)

Type: Histogram

ingestfile_pdf_cache_accessed

Number of times the PDF cache has been accessed (by cache status)

Type: Counter