Skip to content

Commit 6a4f32e

Browse files
authored
NETOBSERV-2355: Rename sampling ratio/rate -> interval (#385)
1 parent 9fb7ab2 commit 6a4f32e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cmd/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ fields:
13251325
description: Differentiated Services Code Point (DSCP) value
13261326
- name: Sampling
13271327
type: number
1328-
description: Sampling rate used for this flow
1328+
description: Sampling interval used for this flow
13291329
- name: IcmpType
13301330
type: number
13311331
description: ICMP type

docs/netobserv_cli.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $ oc netobserv flows [<feature_option>] [<command_options>]
6464
|--enable_rtt| enable RTT tracking | false
6565
|--enable_udn_mapping| enable User Defined Network mapping | false
6666
|--get-subnets| get subnets information | false
67-
|--sampling| value that defines the ratio of packets being sampled | 1
67+
|--sampling| packets sampling interval | 1
6868
|--background| run in background | false
6969
|--copy| copy the output files locally | prompt
7070
|--log-level| components logs | info
@@ -167,7 +167,7 @@ $ oc netobserv metrics [<option>]
167167
|--enable_rtt| enable RTT tracking | false
168168
|--enable_udn_mapping| enable User Defined Network mapping | false
169169
|--get-subnets| get subnets information | false
170-
|--sampling| value that defines the ratio of packets being sampled | 1
170+
|--sampling| packets sampling interval | 1
171171
|--max-time| maximum capture time | 1h
172172
|--action| filter action | Accept
173173
|--cidr| filter CIDR | 0.0.0.0/0

scripts/help.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function features_usage {
7676
echo " --enable_udn_mapping: enable User Defined Network mapping (default: false)"
7777
echo " --get-subnets: get subnets information (default: false)"
7878
echo " --privileged: force eBPF agent privileged mode (default: auto)"
79-
echo " --sampling: value that defines the ratio of packets being sampled (default: 1)"
79+
echo " --sampling: packets sampling interval (default: 1)"
8080
}
8181

8282
# flow and packets collector options

0 commit comments

Comments
 (0)