Skip to content

Commit 0c953ff

Browse files
authored
feat: add metrics collection configuration to example config (#261)
* feat: add metrics collection configuration to example config * add comments
1 parent af10601 commit 0c953ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config.example.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ cursor_path = "./cursor.toml"
1414
# URL of the PostgreSQL database, it SHOULD be the same as the `ATOMA_STATE_DATABASE_URL` variable value in the .env file
1515
database_url = "postgresql://POSTGRES_USER:POSTGRES_PASSWORD@db:5432/POSTGRES_DB"
1616

17+
[atoma_state.metrics_collection]
18+
metrics_url = "" # The URL endpoint where metrics can be collected from.
19+
models = [["MODALITY", "MODEL"]] # A vector of tuples containing modality types and their corresponding model identifiers.
20+
top_k = 10 # Optional parameter to limit the number of best nodes returned.
21+
1722
# Overall component weights for performance calculation
1823
[atoma_state.component_weights]
1924
gpu_score_weight = 0.6 # Weight for GPU in overall score (0.0 to 1.0)
@@ -86,3 +91,4 @@ bootstrap_nodes = [
8691
"QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt",
8792
"12D3KooWKnDdG3iXw9eTFijk3EWSunZcFi54Zka4wmtqtt6rPxc8",
8893
]
94+
metrics_endpoints = {} # It's not used in proxy, but we are using it to avoid the error

0 commit comments

Comments
 (0)