Skip to content

Commit 35a2aca

Browse files
Fix the documentation for the load_state metrics (#1037)
1 parent 606d886 commit 35a2aca

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • website/docs/features/observability

website/docs/features/observability/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ runtime_flight_server_started 1
5454
# TYPE runtime_http_server_started counter
5555
runtime_http_server_started 1
5656

57-
# HELP dataset_load_state Status of the dataset. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing.
57+
# HELP dataset_load_state Status of the dataset. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown.
5858
# TYPE dataset_load_state gauge
5959
dataset_load_state{dataset="taxi_trips"} 2
6060
dataset_load_state{dataset="taxi_trips_accelerated"} 2
@@ -72,25 +72,25 @@ dataset_active_count{engine="duckdb"} 1
7272
|----------------------------------------------------|---------------------------------------------------------------------------------------------------|
7373
| `accelerated_ready_state_federated_fallback`<br/>*(count)* | Number of times the federated table was queried due to the accelerated table loading the initial data. |
7474
| `catalog_load_errors`<br/>*(count)* | Number of errors loading the catalog provider. |
75-
| `catalog_load_state`<br/>*(gauge)* | Status of the catalog provider. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
75+
| `catalog_load_state`<br/>*(gauge)* | Status of the catalog provider. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
7676
| `dataset_acceleration_last_refresh_time_ms`<br/>*(gauge)* | Unix timestamp in seconds when the last refresh completed. |
7777
| `dataset_acceleration_refresh_duration_ms`<br/>*(histogram)* | Duration in milliseconds to load a full or appended refresh data. |
7878
| `dataset_acceleration_refresh_errors`<br/>*(count)* | Number of errors refreshing the dataset. |
7979
| `dataset_active_count`<br/>*(gauge)* | Number of currently loaded datasets. |
80-
| `dataset_load_state`<br/>*(gauge)* | Status of the dataset. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
80+
| `dataset_load_state`<br/>*(gauge)* | Status of the dataset. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
8181
| `dataset_unavailable_time_ms`<br/>*(gauge)* | Time dataset went offline in milliseconds. |
8282
| `embeddings_active_count`<br/>*(gauge)* | Number of currently loaded embeddings. |
8383
| `embeddings_load_errors`<br/>*(count)* | Number of errors loading the embedding. |
84-
| `embeddings_load_state`<br/>*(gauge)* | Status of the embedding. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
84+
| `embeddings_load_state`<br/>*(gauge)* | Status of the embedding. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
8585
| `flight_request_duration_ms`<br/>*(histogram)* | Measures the duration of Flight requests in milliseconds. |
8686
| `flight_requests`<br/>*(count)* | Total number of Flight requests. |
8787
| `http_requests_duration_ms`<br/>*(histogram)* | Measures the duration of HTTP requests in milliseconds. |
8888
| `http_requests`<br/>*(count)* | Number of HTTP requests. | |
89-
| `llm_load_state`<br/>*(gauge)* | Status of the LLM model. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
89+
| `llm_load_state`<br/>*(gauge)* | Status of the LLM model. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
9090
| `model_active_count`<br/>*(gauge)* | Number of currently loaded models. |
9191
| `model_load_duration_ms`<br/>*(histogram)* | Duration in milliseconds to load the model. |
9292
| `model_load_errors`<br/>*(count)* | Number of errors loading the model. |
93-
| `model_load_state`<br/>*(gauge)* | Status of the model. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
93+
| `model_load_state`<br/>*(gauge)* | Status of the model. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
9494
| `query_duration_ms`<br/>*(histogram)* | The total amount of time spent planning and executing queries in milliseconds. |
9595
| `query_execution_duration_ms`<br/>*(histogram)* | The total amount of time spent only executing queries (0 for cached queries). |
9696
| `query_executions`<br/>*(count)* | Number of query executions. |
@@ -107,9 +107,9 @@ dataset_active_count{engine="duckdb"} 1
107107
| `secrets_store_load_duration_ms`<br/>*(histogram)* | Duration in milliseconds to load the secret stores. |
108108
| `tool_active_count`<br/>*(gauge)* | Number of currently loaded LLM tools. |
109109
| `tool_load_errors`<br/>*(count)* | Number of errors loading the LLM tool. |
110-
| `tool_load_state`<br/>*(gauge)* | Status of the LLM tools. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
110+
| `tool_load_state`<br/>*(gauge)* | Status of the LLM tools. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
111111
| `view_load_errors`<br/>*(count)* | Number of errors loading the view. |
112-
| `view_load_state`<br/>*(gauge)* | Status of the views. 1=Initializing, 2=Ready, 3=Disabled, 4=Error, 5=Refreshing. |
112+
| `view_load_state`<br/>*(gauge)* | Status of the views. 0=Initializing, 1=Ready, 2=Disabled, 3=Error, 4=Refreshing, 5=ShuttingDown. |
113113

114114
:::note Component Metrics
115115

0 commit comments

Comments
 (0)