Metrics Endpoint #
GET /metrics
Retrieves application metrics in a Prometheus format.
Metrics endpoint doesn’t require an api prefix in path. (e.g., the full url may look like this https://localhost:8080/metrics)
Authentication required: yes
Permissions: none
Query parameters: none
Request body: none
Response body: Format can be found here.
Available Metrics #
-
server_http_requests_total
- Counter
Tracks the number of HTTP requests.Labels:
path
method
-
server_http_request_seconds_duration
- Histogram
Tracks the latencies for HTTP requests.Labels:
path
method
-
server_ws_messages_total
- Counter
Tracks the number of WebSocket messages.Labels:
topic_template
published_topic
-
database_queries_total
- Counter
Tracks the number of database queries.Labels:
database
query
-
database_queries_seconds_duration
- Histogram
Tracks the durations of database queries.Labels:
database
query
-
cycles_total
- Counter
Tracks the number of cycles executed.Labels:
session_id
-
cycles_seconds_duration
- Histogram
Tracks the durations of cycles executions.Labels:
session_id
-
strategy_executions_total
- Counter
Tracks the number of strategy executions.Labels:
symbol
strategy
strategy_status
-
exchange_http_requests_total
- Counter
Tracks the number of HTTP requests.Labels:
identity_codename
identity_type
endpoint
method
cooldown
success
-
exchange_server_http_request_seconds_duration
- Histogram
Tracks the latencies for HTTP requests.Labels:
identity_codename
identity_type
endpoint
method
cooldown
success
-
exchange_ws_messages_total
- Counter
Tracks the number of WebSocket messages.Labels:
identity_codename
identity_type
topic
identifier
-
cache_candle_memory_cache_uses_total
- Counter
Tracks the number of candles used from a cache.Labels:
identity_codename
identity_type
symbol
interval
-
cache_candle_memory_cache_insertions_total
- Counter
Tracks the number of candles inserted into a cache.Labels:
identity_codename
identity_type
symbol
interval
event
-
cache_candle_exchange_uses_total
- Counter
Tracks the number of candles used from an exchange.Labels:
identity_codename
identity_type
symbol
interval
-
cache_candle_database_cache_uses_total
- Counter
Tracks the number of candles used from a database.Labels:
identity_codename
identity_type
symbol
interval
-
cache_candle_database_cache_insertions_total
- Counter
Tracks the number of candles inserted into a database.Labels:
identity_codename
identity_type
symbol
interval
event
-
cache_ticker_memory_cache_uses_total
- Counter
Tracks the number of tickers used from a cache.Labels:
identity_codename
identity_type
symbol
-
cache_ticker_memory_cache_insertions_total
- Counter
Tracks the number of tickers inserted into a cache.Labels:
identity_codename
identity_type
symbol
event
-
cache_ticker_exchange_uses_total
- Counter
Tracks the number of tickers used from an exchange.Labels:
identity_codename
identity_type
symbol
-
cache_position_memory_cache_uses_total
- Counter
Tracks the number of position maps used from a cache.Labels:
identity_codename
identity_type
-
cache_position_memory_cache_insertions_total
- Counter
Tracks the number of position maps inserted into a cache.Labels:
identity_codename
identity_type
event
-
cache_position_exchange_uses_total
- Counter
Tracks the number of position maps used from an exchange.Labels:
identity_codename
identity_type
-
cache_account_info_memory_cache_uses_total
- Counter
Tracks the number of account info entries used from a cache.Labels:
identity_codename
identity_type
-
cache_account_info_memory_cache_insertions_total
- Counter
Tracks the number of account info entries inserted into a cache.Labels:
identity_codename
identity_type
event
-
cache_account_info_exchange_uses_total
- Counter
Tracks the number of account info entries used from an exchange.Labels:
identity_codename
identity_type
-
cache_trade_handles_total
- Counter
Tracks the number of trades handled by a cache.Labels:
identity_codename
identity_type
symbol