Skip to content

Commit

Permalink
Merge branch '512-command-ref' into ania-stage
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Jan 31, 2025
2 parents 8ef336c + 27fc39f commit 7b07d7c
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
25 changes: 25 additions & 0 deletions content/nvue-reference/Set-and-Unset-Commands/Telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,31 @@ Introduced in Cumulus Linux 5.10.0
```
cumulus@switch:~$ nv set system telemetry export otlp grpc destination 10.1.1.100 port 4317
```
<HR STYLE="BORDER: DASHED RGB(118,185,0) 0.5PX;BACKGROUND-COLOR: RGB(118,185,0);HEIGHT: 4.0PX;"/>

## <h>nv set system telemetry export otlp grpc destination \<destination\> stats-group</h>

Applies the statistics group configuration to the OTLP destination.

By default, the switch exports all statistics enabled globally (with the `nv set system telemetry <statistics>` command) to all configured OTLP destinations. If you want to export different metrics to different OTLP destinations, you can customize the export by specifying a statistics group to control which statistics you export and the sample interval for a destination.

Statistics groups inherit global OTLP export configurations by default. More specific configuration under a statistics group, such as enabling or disabling a statistic type or changing the sample interval overrides any global OTLP configuration.

### Command Syntax

| Syntax | Description |
| --------- | -------------- |
| `<destination>` | The IP address of the collector. |

### Version History

Introduced in Cumulus Linux 5.12.0

### Example

```
cumulus@switch:~$ nv set system telemetry export otlp grpc destination 10.1.1.100 stats-group STAT-GROUP2
```

<HR STYLE="BORDER: DASHED RGB(118,185,0) 0.5PX;BACKGROUND-COLOR: RGB(118,185,0);HEIGHT: 4.0PX;"/>

Expand Down
23 changes: 23 additions & 0 deletions content/nvue-reference/Set-and-Unset-Commands/User-Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,29 @@ cumulus@switch:~$ nv set system aaa user admin2 nvue-monitor

<HR STYLE="BORDER: DASHED RGB(118,185,0) 0.5PX;BACKGROUND-COLOR: RGB(118,185,0);HEIGHT: 4.0PX;"/>

## <h>nv set system aaa user <user-id> spiffe-id <spiffe-id></h>

Configures a SPIFFE ID for the user account instead of a password.

### Command Syntax

| Syntax | Description |
| --------- | -------------- |
| `<user-id>` | The user account. |
| `<spiffe-id>` | The SPIFFE ID mapped to the user. |

### Version History

Introduced in Cumulus Linux 5.12.0

### Example

```
cumulus@switch:~$ nv set system aaa user admin2 spiffe-id spiffe://acme.com/billing/payments
```

<HR STYLE="BORDER: DASHED RGB(118,185,0) 0.5PX;BACKGROUND-COLOR: RGB(118,185,0);HEIGHT: 4.0PX;"/>

## <h>nv set system aaa user \<user-id\> state</h>

Turns the user account for the switch on or off. You can specify `enabled` or `disabled`.
Expand Down
5 changes: 4 additions & 1 deletion content/nvue-reference/Show-Commands/Telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -2415,7 +2415,10 @@ Introduced in Cumulus Linux 5.12.0

```
cumulus@switch:~$ nv show system telemetry stats-group
No Data
Histogram Interface Stats Platform Stats ControlPlane Stats Buffer Stats Routing Stats
----------- --------- --------------- -------------- ------------------ ------------ -------------
STAT-GROUP1 disabled enabled disabled disabled disabled disabled
blah disabled disabled disabled disabled disabled disabled
```

<HR STYLE="BORDER: DASHED RGB(118,185,0) 0.5PX;BACKGROUND-COLOR: RGB(118,185,0);HEIGHT: 4.0PX;"/>
Expand Down

0 comments on commit 7b07d7c

Please sign in to comment.