-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
constants.go
29 lines (21 loc) · 1.12 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
package common
const (
// DefaultStopTimeout is the default stop timeout in seconds
DefaultStopTimeout = 5
// DefaultAggregatorFlushInterval is the default flush interval in seconds
DefaultAggregatorFlushInterval = 300 // 5min
// DefaultAggregatorBufferSize is the default aggregator buffer size interval
DefaultAggregatorBufferSize = 10000
// DefaultAggregatorPortRollupThreshold is the default aggregator port rollup threshold
DefaultAggregatorPortRollupThreshold = 10
// DefaultAggregatorRollupTrackerRefreshInterval is the default aggregator rollup tracker refresh interval
DefaultAggregatorRollupTrackerRefreshInterval = 300 // 5min
// DefaultBindHost is the default bind host used for flow listeners
DefaultBindHost = "0.0.0.0"
// DefaultPrometheusListenerAddress is the default goflow prometheus listener address
DefaultPrometheusListenerAddress = "localhost:9090"
)