Skip to content

Commit

Permalink
Added note about metric categories (#521)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandra Tran Carrillo <[email protected]>
  • Loading branch information
lucassaldanha and alexandratran authored Dec 7, 2023
1 parent d4150f5 commit 11fc963
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions docs/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,9 @@ metrics-categories: ["BEACON", "JVM", "PROCESS"]
</TabItem>
</Tabs>

Categories for which to track metrics. Options are `JVM`, `PROCESS`, `BEACON`, `DISCOVERY`, `EVENTBUS`, `EXECUTOR`, `LIBP2P`, `NETWORK`, `STORAGE`, `STORAGE_HOT_DB`, `STORAGE_FINALIZED_DB`, `REMOTE_VALIDATOR`, `VALIDATOR`, `VALIDATOR_PERFORMANCE`. All categories are enabled by default.
Categories for which to track metrics. Options are `JVM`, `PROCESS`, `BEACON`, `DISCOVERY`, `EVENTBUS`, `EXECUTOR`, `LIBP2P`, `NETWORK`, `STORAGE`, `STORAGE_HOT_DB`, `STORAGE_FINALIZED_DB`, `REMOTE_VALIDATOR`, `VALIDATOR`, `VALIDATOR_PERFORMANCE`, `VALIDATOR_DUTY`. All but `VALIDATOR_DUTY` categories are enabled by default.

When `metrics-categories` is used, only the categories specified in this option are enabled (all other categories are disabled).

### metrics-interface

Expand Down Expand Up @@ -2840,14 +2842,14 @@ The [validator REST API](../rest.md#enable-the-validator-client-api) listening p
```

</TabItem>
<TabItem value="Example for directory" label="Example for directory" >
<TabItem value="Example for directory" label="Example for directory" >

```bash
--validator-keys=/home/validator/keys:home/validator/passwords
```

</TabItem>
<TabItem value="Example for file" label="Example for file" >
<TabItem value="Example for file" label="Example for file" >

```bash
--validator-keys=/home/validator/keys/validator_217179e.json:/home/validator/passwords/validator_217179e.txt
Expand Down
4 changes: 3 additions & 1 deletion docs/reference/cli/subcommands/validator-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@ metrics-categories: ["BEACON", "JVM", "PROCESS"]
</TabItem>
</Tabs>

Categories for which to track metrics. Options are `JVM`, `PROCESS`, `BEACON`, `DISCOVERY`, `EVENTBUS`, `EXECUTOR`, `LIBP2P`, `NETWORK`, `STORAGE`, `STORAGE_HOT_DB`, `STORAGE_FINALIZED_DB`, `REMOTE_VALIDATOR`, `VALIDATOR`, `VALIDATOR_PERFORMANCE`. All categories are enabled by default.
Categories for which to track metrics. Options are `JVM`, `PROCESS`, `BEACON`, `DISCOVERY`, `EVENTBUS`, `EXECUTOR`, `LIBP2P`, `NETWORK`, `STORAGE`, `STORAGE_HOT_DB`, `STORAGE_FINALIZED_DB`, `REMOTE_VALIDATOR`, `VALIDATOR`, `VALIDATOR_PERFORMANCE`, `VALIDATOR_DUTY`. All but `VALIDATOR_DUTY` categories are enabled by default.

When `metrics-categories` is used, only the categories specified in this option are enabled (all other categories are disabled).

## `metrics-interface`

Expand Down

1 comment on commit 11fc963

@vercel
Copy link

@vercel vercel bot commented on 11fc963 Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.