Documentation ¶
Index ¶
Constants ¶
View Source
const (
LOG_ROOT = "vipshop.com/VDL"
)
Variables ¶
View Source
var ( DefaultMetricsConfig = &MetricsConfig{ RaftGroupEntryLatencySummaryDuration: 2 * time.Second, KafkaWriteLatencySummaryDuration: 2 * time.Second, KafkaReadLatencySummaryDuration: 2 * time.Second, LogstoreWriteLatencySummaryDuration: 2 * time.Second, LogstoreReadLatencySummaryDuration: 2 * time.Second, LogstoreDSLatencySummaryDuration: 30 * time.Second, } )
Functions ¶
This section is empty.
Types ¶
type MetricsConfig ¶
type MetricsConfig struct { // Duration for entry latency summary RaftGroupEntryLatencySummaryDuration time.Duration // ============ Kafka =============// // Write Latency KafkaWriteLatencySummaryDuration time.Duration // Read Latency KafkaReadLatencySummaryDuration time.Duration //=============Logstore===========// // Logstore Write Latency LogstoreWriteLatencySummaryDuration time.Duration // Logstore Read Latency LogstoreReadLatencySummaryDuration time.Duration // Logstore Delete segment latency LogstoreDSLatencySummaryDuration time.Duration }
put all the metrics config here, later can consider which need use whether dynamic mode
Click to show internal directories.
Click to hide internal directories.