Skip to content

Commit ff5e6f5

Browse files
committed
NETOBSERV-2355: Rename sampling ratio/rate -> interval
1 parent 3e1e425 commit ff5e6f5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

config/sample-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ frontend:
14631463
description: Differentiated Services Code Point (DSCP) value
14641464
- name: Sampling
14651465
type: number
1466-
description: Sampling rate used for this flow
1466+
description: Sampling interval used for this flow
14671467
- name: IcmpType
14681468
type: number
14691469
description: ICMP type

web/moduleMapper/schemas.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
228228
properties: {
229229
sampling: {
230230
description:
231-
'Sampling rate of the flow reporter. 100 means one flow on 100 is sent. 0 or 1 means all flows are sampled.',
231+
'Sampling interval of the flow reporter. 100 means one flow on 100 is sent. 0 or 1 means all flows are sampled.',
232232
type: 'integer',
233233
format: 'int32',
234234
default: 50,
@@ -274,7 +274,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
274274
},
275275
sampling: {
276276
description:
277-
'`sampling` sampling rate for the matched flows, overriding the global sampling defined at `spec.agent.ebpf.sampling`.',
277+
'`sampling` sampling interval for the matched flows, overriding the global sampling defined at `spec.agent.ebpf.sampling`.',
278278
type: 'integer',
279279
format: 'int32'
280280
},
@@ -366,7 +366,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
366366
},
367367
sampling: {
368368
description:
369-
'`sampling` sampling rate for the matched flows, overriding the global sampling defined at `spec.agent.ebpf.sampling`.',
369+
'`sampling` sampling interval for the matched flows, overriding the global sampling defined at `spec.agent.ebpf.sampling`.',
370370
type: 'integer',
371371
format: 'int32'
372372
},
@@ -1648,7 +1648,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
16481648
},
16491649
sampling: {
16501650
description:
1651-
'`sampling` is the sampling rate on the reporter. 100 means one flow on 100 is sent.\nTo ensure cluster stability, it is not possible to set a value below 2.\nIf you really want to sample every packet, which might impact the cluster stability,\nrefer to `forceSampleAll`. Alternatively, you can use the eBPF Agent instead of IPFIX.',
1651+
'`sampling` is the sampling interval on the reporter. 100 means one flow on 100 is sent.\nTo ensure cluster stability, it is not possible to set a value below 2.\nIf you really want to sample every packet, which might impact the cluster stability,\nrefer to `forceSampleAll`. Alternatively, you can use the eBPF Agent instead of IPFIX.',
16521652
type: 'integer',
16531653
format: 'int32',
16541654
default: 400,
@@ -2875,7 +2875,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
28752875
enum: ['Disabled', 'Drop', 'Sample']
28762876
},
28772877
sampling: {
2878-
description: '`sampling` is the sampling rate when deduper `mode` is `Sample`.',
2878+
description: '`sampling` is the sampling interval when deduper `mode` is `Sample`.',
28792879
type: 'integer',
28802880
format: 'int32',
28812881
default: 50,
@@ -3380,7 +3380,7 @@ export const FlowCollectorSchema: RJSFSchema | any = {
33803380
enum: ['', 'Loki', 'Metrics', 'Exporters']
33813381
},
33823382
sampling: {
3383-
description: '`sampling` is an optional sampling rate to apply to this filter.',
3383+
description: '`sampling` is an optional sampling interval to apply to this filter.',
33843384
type: 'integer',
33853385
format: 'int32',
33863386
minimum: 0

0 commit comments

Comments
 (0)