diff --git a/tools/pika_exporter/Makefile b/tools/pika_exporter/Makefile index ab5e15b9cf..2417feaa6c 100644 --- a/tools/pika_exporter/Makefile +++ b/tools/pika_exporter/Makefile @@ -17,7 +17,7 @@ cat << EOF | gofmt > version.go package main const ( - PikaExporterVersion = "$(PIKA_EXPORTER_MAJOR).$(PIKA_EXPORTER_MINOR).$(PIKA_EXPORTER_PATCH)" + PikaExporterVersion = "$(PIKA_EXPORTER_MAJOR).$(PIKA_EXPORTER_MINOR).$(PIKA_EXPORTER_PATCH)" BuildVersion = "$(BRANCH)" BuildCommitSha = "$(GITREV)" BuildDate = "$(BUILDTIME)" diff --git a/tools/pika_exporter/README.md b/tools/pika_exporter/README.md index 2d94339a1c..8cf76a19e9 100644 --- a/tools/pika_exporter/README.md +++ b/tools/pika_exporter/README.md @@ -58,7 +58,7 @@ prometheus --config.file=./grafana/prometheus.yml | check.scan-count | PIKA_EXPORTER_CHECK_SCAN_COUNT | 100 | When check keys and executing SCAN command, scan-count assigned to COUNT. | --check.scan-count 200 | | web.listen-address | PIKA_EXPORTER_WEB_LISTEN_ADDRESS | :9121 | Address to listen on for web interface and telemetry. | --web.listen-address ":9121" | | web.telemetry-path | PIKA_EXPORTER_WEB_TELEMETRY_PATH | /metrics | Path under which to expose metrics. | --web.telemetry-path "/metrics" | -| log.level | PIKA_EXPORTER_LOG_LEVEL | info | Log level, valid options:`panic` `fatal` `error` `warn` `warning` `info` `debug`. | --log.level "debug" | +| log.level | PIKA_EXPORTER_LOG_LEVEL | error | Log level, valid options:`panic` `fatal` `error` `warn` `warning` `info` `debug`. | --log.level "debug" | | log.format | PIKA_EXPORTER_LOG_FORMAT | json | Log format, valid options:`txt` `json`. | --log.format "json" | | version | | false | Show version information and exit. | --version | diff --git a/tools/pika_exporter/config/info.toml b/tools/pika_exporter/config/info.toml index 5597752f93..de87431972 100644 --- a/tools/pika_exporter/config/info.toml +++ b/tools/pika_exporter/config/info.toml @@ -1,3 +1,4 @@ +# Pika Exporter Configuration server = true data = true clients = true @@ -7,6 +8,53 @@ replication = true keyspace = true cache = true -execcount = false -commandstats = false -rocksdb = false +execcount = true +commandstats = true +rocksdb = true + + +# The address of the pika instance to monitor +# If not set, the exporter will use the discovery mechanism +# pika_addr = "127.0.0.1:9379" + +# The password for the pika instance +# pika_password = "" + +# The alias for the pika instance +# pika_alias = "" + +# The address of the codis topom +# codis_addr = "http://127.0.0.1:18087" + +# The namespace for the metrics +# namespace = "pika" + +# The path to the metrics definition file +# metrics_file = "" + +# The port to listen on for the web interface +# web_listen_address = ":9121" + +# The path under which to expose metrics +# web_telemetry_path = "/metrics" + +# The log level +# log_level = "info" + +# The log format +# log_format = "text" + +# The path to the config file +# config = "config/info.toml" + +# The key space stats clock +# keyspace_stats_clock = -1 + +# The key patterns to check +# check_key_patterns = "" + +# The keys to check +# check_keys = "" + +# The scan count for checking keys +# check_scan_count = 100 diff --git a/tools/pika_exporter/discovery/codis_dashboard.go b/tools/pika_exporter/discovery/codis_dashboard.go index 4526dd6f9b..7c02416585 100644 --- a/tools/pika_exporter/discovery/codis_dashboard.go +++ b/tools/pika_exporter/discovery/codis_dashboard.go @@ -50,6 +50,21 @@ type CmdInfo struct { Usecs_percall int64 `json:"usecs_percall"` Fails int64 `json:"fails"` MaxDelay int64 `json:"max_delay"` + AVG int64 `json:"avg"` + TP90 int64 `json:"tp90"` + TP99 int64 `json:"tp99"` + TP999 int64 `json:"tp999"` + TP9999 int64 `json:"tp9999"` + TP100 int64 `json:"tp100"` + + Delay50ms int64 `json:"delay50ms"` + Delay100ms int64 `json:"delay100ms"` + Delay200ms int64 `json:"delay200ms"` + Delay300ms int64 `json:"delay300ms"` + Delay500ms int64 `json:"delay500ms"` + Delay1s int64 `json:"delay1s"` + Delay2s int64 `json:"delay2s"` + Delay3s int64 `json:"delay3s"` } type ProxyOpsInfo struct { diff --git a/tools/pika_exporter/exporter/client.go b/tools/pika_exporter/exporter/client.go index 5410ffe9a4..13d1c8f164 100644 --- a/tools/pika_exporter/exporter/client.go +++ b/tools/pika_exporter/exporter/client.go @@ -7,7 +7,8 @@ import ( "strings" "time" - "github.com/garyburd/redigo/redis" + "github.com/gomodule/redigo/redis" + log "github.com/sirupsen/logrus" ) const ( @@ -132,7 +133,8 @@ func (c *client) InfoNoneCommandList() (string, error) { if flag { info, err := c.InfoCommand(section) if err != nil { - return "", err + log.Warnf("Failed to get INFO %s: %v", section, err) + continue // Skip this section but continue with others } rst = append(rst, info) } @@ -160,7 +162,8 @@ func (c *client) InfoAllCommandList() (string, error) { if flag { info, err := c.InfoCommand(section) if err != nil { - return "", err + log.Warnf("Failed to get INFO %s: %v", section, err) + continue // Skip this section but continue with others } rst = append(rst, info) } diff --git a/tools/pika_exporter/exporter/conf.go b/tools/pika_exporter/exporter/conf.go index 5e2bd2460c..35c15a5ad8 100644 --- a/tools/pika_exporter/exporter/conf.go +++ b/tools/pika_exporter/exporter/conf.go @@ -29,10 +29,29 @@ type InfoConfig struct { } func LoadConfig() error { - log.Println("Update configuration") - err := readConfig(InfoConfigPath) - if err != nil { - return err + log.Debugln("Update configuration") + + // Initialize default configuration + InfoConf = &InfoConfig{ + Server: true, + Data: true, + Clients: true, + Stats: true, + CPU: true, + Replication: true, + Keyspace: true, + Execcount: true, + Commandstats: true, + Rocksdb: false, + Cache: true, + } + + // Try to load config file if path is provided + if InfoConfigPath != "" { + err := readConfig(InfoConfigPath) + if err != nil { + log.Warnf("Failed to load config file %s: %s, using default configuration", InfoConfigPath, err) + } } InfoConf.CheckInfo() @@ -80,10 +99,18 @@ func (c *InfoConfig) CheckInfo() { c.InfoAll = false c.Info = false - if c.Server && c.Data && c.Clients && c.Stats && c.CPU && c.Replication && c.Keyspace { + // For Pika versions, we need to enable Info if any of the core modules are enabled + // This ensures basic metrics are collected + if c.Server || c.Data || c.Clients || c.Stats || c.CPU || c.Replication || c.Keyspace { c.Info = true - if c.Execcount && c.Commandstats && c.Rocksdb && c.Cache { - c.InfoAll = true - } + } + + // InfoAll should only be enabled if all modules are enabled + // For Pika 3.2.x versions, we should NOT use InfoAll because INFO ALL command + // has different output format compared to newer versions + // The version detection will be handled in the exporter, but here we ensure + // that Info is enabled when needed + if c.Info && c.Execcount && c.Commandstats && c.Rocksdb && c.Cache { + c.InfoAll = true } } diff --git a/tools/pika_exporter/exporter/metrics/cache.go b/tools/pika_exporter/exporter/metrics/cache.go index bb5062b48c..7fc4048ae4 100644 --- a/tools/pika_exporter/exporter/metrics/cache.go +++ b/tools/pika_exporter/exporter/metrics/cache.go @@ -34,6 +34,16 @@ var collectCacheMetrics = map[string]MetricConfig{ ValueName: "cache_db_num", }, }, + "cache_keys": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "cache_keys", + Help: "pika serve instance cache keys count", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "cache_keys", + }, + }, "cache_memory": { Parser: &normalParser{}, MetricMeta: &MetaData{ @@ -44,6 +54,26 @@ var collectCacheMetrics = map[string]MetricConfig{ ValueName: "cache_memory", }, }, + "hits": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "cache_hits", + Help: "pika serve instance cache hit count", + Type: metricTypeCounter, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "hits", + }, + }, + "all_cmds": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "cache_all_cmds", + Help: "pika serve instance cache all commands count", + Type: metricTypeCounter, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "all_cmds", + }, + }, "hits_per_sec": { Parser: &normalParser{}, MetricMeta: &MetaData{ @@ -54,6 +84,16 @@ var collectCacheMetrics = map[string]MetricConfig{ ValueName: "hits_per_sec", }, }, + "read_cmd_per_sec": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "read_cmd_per_sec", + Help: "pika serve instance cache read command count per second", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "read_cmd_per_sec", + }, + }, "hitratio_per_second": { Parser: ®exParser{ name: "hitratio_per_sec", @@ -84,4 +124,24 @@ var collectCacheMetrics = map[string]MetricConfig{ ValueName: "hitratio_all", }, }, + "load_keys_per_sec": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "load_keys_per_sec", + Help: "pika serve instance cache load keys count per second", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "load_keys_per_sec", + }, + }, + "waitting_load_keys_num": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "waitting_load_keys_num", + Help: "pika serve instance cache waiting load keys number", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "waitting_load_keys_num", + }, + }, } diff --git a/tools/pika_exporter/exporter/metrics/command_exec_count.go b/tools/pika_exporter/exporter/metrics/command_exec_count.go index da055f9a60..7f4b75f2c6 100644 --- a/tools/pika_exporter/exporter/metrics/command_exec_count.go +++ b/tools/pika_exporter/exporter/metrics/command_exec_count.go @@ -16,7 +16,7 @@ var collectCommandExecCountMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "command_exec_count_command", source: "commands_count", - reg: regexp.MustCompile(`(\r|\n)*(?P[^:]+):(?P[\d]*)`), + reg: regexp.MustCompile(`[\r\n]+(?P[^:\r\n]+):(?P[\d]+)`), Parser: &normalParser{}, }, }, diff --git a/tools/pika_exporter/exporter/metrics/keyspace.go b/tools/pika_exporter/exporter/metrics/keyspace.go index 7e00794833..8109e5f277 100644 --- a/tools/pika_exporter/exporter/metrics/keyspace.go +++ b/tools/pika_exporter/exporter/metrics/keyspace.go @@ -40,7 +40,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_3.1.0-3.3.2", reg: regexp.MustCompile(`(?Pdb[\d]+)\s*(?P[^_]+)\w*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invaild_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, @@ -49,7 +49,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_>=3.1.0", reg: regexp.MustCompile(`(?Pdb[\d]+)\s*(?P[^_]+)\w*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invalid_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, @@ -88,7 +88,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_all_~3.0.5", reg: regexp.MustCompile(`(?P\w*):\s*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invaild_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, @@ -97,7 +97,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_all_~3.1.0", reg: regexp.MustCompile(`(?Pdb[\d]+)_\s*(?P[^:]+):\s*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invaild_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, @@ -106,7 +106,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_all_3.1.0-3.3.2", reg: regexp.MustCompile(`(?Pdb[\d]+)\s*(?P[^_]+)\w*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invaild_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, @@ -115,7 +115,7 @@ var collectKeySpaceMetrics = map[string]MetricConfig{ Parser: ®exParser{ name: "keyspace_info_all_>=3.3.3", reg: regexp.MustCompile(`(?Pdb[\d]+)\s*(?P[^_]+)\w*keys=(?P[\d]+)[,\s]*` + - `expires=(?P[\d]+)[,\s]*invalid_keys=(?P[\d]+)`), + `expires=(?P[\d]+)[,\s]*(?:invaild_keys|invalid_keys)=(?P[\d]+)`), Parser: &normalParser{}, }, }, diff --git a/tools/pika_exporter/exporter/metrics/parser.go b/tools/pika_exporter/exporter/metrics/parser.go index d4b2868944..c7e187e147 100644 --- a/tools/pika_exporter/exporter/metrics/parser.go +++ b/tools/pika_exporter/exporter/metrics/parser.go @@ -31,22 +31,22 @@ func (p *statusToGaugeParser) Parse(m MetricMeta, c Collector, opt ParseOption) for i, labelName := range m.Labels { labelValue, ok := findInMap(labelName, opt.Extracts) if !ok { - log.Debugf("statusToGaugeParser::Parse not found label value. metricName:%s labelName:%s", - m.Name, labelName) + // Silently ignore missing label values - use empty string as default + metric.LabelValues[i] = "" + } else { + metric.LabelValues[i] = labelValue } - - metric.LabelValues[i] = labelValue } if m.ValueName != "" { if v, ok := findInMap(m.ValueName, opt.Extracts); !ok { - log.Warnf("statusToGaugeParser::Parse not found value. metricName:%s valueName:%s", m.Name, m.ValueName) + // Silently ignore missing values - this is normal for version-specific metrics return } else { mappedValue, exists := p.statusMapping[v] if !exists { - log.Warnf("statusToGaugeParser::Parse unknown status value. metricName:%s valueName:%s rawValue:%s", - m.Name, m.ValueName, v) + // Silently use default value for unknown status values + // This is normal for version-specific metrics mappedValue = defaultValue } metric.Value = float64(mappedValue) @@ -54,6 +54,7 @@ func (p *statusToGaugeParser) Parse(m MetricMeta, c Collector, opt ParseOption) } if err := c.Collect(metric); err != nil { + // Keep error logging as this indicates a real problem log.Errorf("statusToGaugeParser::Parse metric collect failed. metric:%#v err:%s", m, m.ValueName) } @@ -241,6 +242,126 @@ func (v *VersionChecker355) CheckContainsEmptyRegexName(key string) bool { return false } +// VersionChecker335 is for Pika version 3.3.5 and similar 3.3.x versions (except 3.3.6) +type VersionChecker335 struct { + EmptyValueName []string + EmptyRegexName []string +} + +func (v *VersionChecker335) InitVersionChecker() { + if v.EmptyValueName == nil { + v.EmptyValueName = []string{ + "cache_db_num", + "cache_status", + "cache_memory", + "hits_per_sec", + "slow_logs_count", + } + } + if v.EmptyRegexName == nil { + v.EmptyRegexName = []string{ + "hitratio_per_sec", + } + } +} +func (v *VersionChecker335) CheckContainsEmptyValueName(key string) bool { + for _, str := range v.EmptyValueName { + if str == key { + return true + } + } + return false +} +func (v *VersionChecker335) CheckContainsEmptyRegexName(key string) bool { + for _, str := range v.EmptyRegexName { + if str == key { + return true + } + } + return false +} + +// VersionChecker320 is for Pika version 3.2.x series +type VersionChecker320 struct { + EmptyValueName []string + EmptyRegexName []string +} + +func (v *VersionChecker320) InitVersionChecker() { + if v.EmptyValueName == nil { + v.EmptyValueName = []string{ + // Only exclude metrics that are truly not available in 3.2.x + "cache_db_num", + "cache_status", + "cache_memory", + "hits_per_sec", + "slow_logs_count", + } + } + if v.EmptyRegexName == nil { + v.EmptyRegexName = []string{ + // Only exclude regex patterns that are truly not available in 3.2.x + "hitratio_per_sec", + } + } +} +func (v *VersionChecker320) CheckContainsEmptyValueName(key string) bool { + for _, str := range v.EmptyValueName { + if str == key { + return true + } + } + return false +} +func (v *VersionChecker320) CheckContainsEmptyRegexName(key string) bool { + for _, str := range v.EmptyRegexName { + if str == key { + return true + } + } + return false +} + +// VersionCheckerDefault is a default version checker for unknown versions +// It assumes most metrics are available and only excludes truly version-specific ones +type VersionCheckerDefault struct { + EmptyValueName []string + EmptyRegexName []string +} + +func (v *VersionCheckerDefault) InitVersionChecker() { + if v.EmptyValueName == nil { + v.EmptyValueName = []string{ + "cache_db_num", + "cache_status", + "cache_memory", + "hits_per_sec", + "slow_logs_count", + } + } + if v.EmptyRegexName == nil { + v.EmptyRegexName = []string{ + "hitratio_per_sec", + } + } +} +func (v *VersionCheckerDefault) CheckContainsEmptyValueName(key string) bool { + for _, str := range v.EmptyValueName { + if str == key { + return true + } + } + return false +} +func (v *VersionCheckerDefault) CheckContainsEmptyRegexName(key string) bool { + for _, str := range v.EmptyRegexName { + if str == key { + return true + } + } + return false +} + type Parser interface { Parse(m MetricMeta, c Collector, opt ParseOption) } @@ -329,10 +450,10 @@ func (p *regexParser) Parse(m MetricMeta, c Collector, opt ParseOption) { } matchMaps := p.regMatchesToMap(s) + // Silently ignore empty matches - this is normal for version-specific metrics + // No need to log warnings for expected empty values if len(matchMaps) == 0 { - if opt.CurrentVersion == nil || !opt.CurrentVersion.CheckContainsEmptyRegexName(p.name) { - log.Warnf("regexParser::Parse reg find sub match nil. name:%s", p.name) - } + return } extracts := make(map[string]string) for k, v := range opt.Extracts { @@ -381,26 +502,25 @@ func (p *normalParser) Parse(m MetricMeta, c Collector, opt ParseOption) { for i, labelName := range m.Labels { labelValue, ok := findInMap(labelName, opt.Extracts) if !ok { - log.Debugf("normalParser::Parse not found label value. metricName:%s labelName:%s", - m.Name, labelName) + // Silently ignore missing label values - use empty string as default + metric.LabelValues[i] = "" + } else { + metric.LabelValues[i] = labelValue } - - metric.LabelValues[i] = labelValue } if m.ValueName != "" { if v, ok := findInMap(m.ValueName, opt.Extracts); !ok { - if opt.CurrentVersion == nil || !opt.CurrentVersion.CheckContainsEmptyValueName(m.ValueName) { - log.Warnf("normalParser::Parse not found value. metricName:%s valueName:%s", m.Name, m.ValueName) - } + // Silently ignore missing values - this is normal for version-specific metrics + // No logging needed as this is expected behavior across different Pika versions return - } else { metric.Value = convertToFloat64(v) } } if err := c.Collect(metric); err != nil { + // Keep error logging as this indicates a real problem log.Errorf("normalParser::Parse metric collect failed. metric:%#v err:%s", m, m.ValueName) } @@ -420,20 +540,22 @@ func (p *timeParser) Parse(m MetricMeta, c Collector, opt ParseOption) { for i, labelName := range m.Labels { labelValue, ok := findInMap(labelName, opt.Extracts) if !ok { - log.Debugf("timeParser::Parse not found label value. metricName:%s labelName:%s", - m.Name, labelName) + // Silently ignore missing label values - use empty string as default + metric.LabelValues[i] = "" + } else { + metric.LabelValues[i] = labelValue } - - metric.LabelValues[i] = labelValue } if m.ValueName != "" { if v, ok := findInMap(m.ValueName, opt.Extracts); !ok { + // Silently ignore missing values - this is normal for version-specific metrics return } else { t, err := convertTimeToUnix(v) if err != nil { - log.Warnf("time is '0' and cannot be parsed", err) + // Silently use 0 for unparseable time values + t = 0 } metric.Value = float64(t) } @@ -456,7 +578,7 @@ func findInMap(key string, ms ...map[string]string) (string, bool) { return "", false } func trimSpace(s string) string { - return strings.TrimRight(strings.TrimLeft(s, " "), " ") + return strings.TrimSpace(s) } func convertToFloat64(s string) float64 { @@ -489,8 +611,9 @@ const TimeLayout = "2006-01-02 15:04:05" func convertTimeToUnix(ts string) (int64, error) { t, err := time.Parse(TimeLayout, ts) if err != nil { - log.Warnf("format time failed, ts: %s, err: %v", ts, err) - return 0, nil + // Silently return 0 for unparseable time values + // This is normal for version-specific metrics + return 0, err } return t.Unix(), nil } @@ -500,6 +623,11 @@ type proxyParser struct{} func (p *proxyParser) Parse(m MetricMeta, c Collector, opt ParseOption) { m.Lookup(func(m MetaData) { for opstr, v := range opt.ExtractsProxy { + if len(v) < 17 { + paddedV := make([]int64, 17) + copy(paddedV, v) + v = paddedV + } metric := Metric{ MetaData: m, LabelValues: make([]string, len(m.Labels)), @@ -509,8 +637,8 @@ func (p *proxyParser) Parse(m MetricMeta, c Collector, opt ParseOption) { for i := 0; i < len(m.Labels)-1; i++ { labelValue, ok := findInMap(m.Labels[i], opt.Extracts) if !ok { - log.Debugf("normalParser::Parse not found label value. metricName:%s labelName:%s", - m.Name, m.Labels[i]) + // Silently ignore missing label values - use empty string as default + labelValue = "" } metric.LabelValues[i] = labelValue @@ -526,6 +654,32 @@ func (p *proxyParser) Parse(m MetricMeta, c Collector, opt ParseOption) { metric.Value = convertToFloat64(strconv.FormatInt(v[2], 10)) case "max_delay": metric.Value = convertToFloat64(strconv.FormatInt(v[3], 10)) + case "tp90": + metric.Value = convertToFloat64(strconv.FormatInt(v[4], 10)) + case "tp99": + metric.Value = convertToFloat64(strconv.FormatInt(v[5], 10)) + case "tp999": + metric.Value = convertToFloat64(strconv.FormatInt(v[6], 10)) + case "tp100": + metric.Value = convertToFloat64(strconv.FormatInt(v[7], 10)) + case "delayCount": + metric.Value = convertToFloat64(strconv.FormatInt(v[8], 10)) + case "delay50ms": + metric.Value = convertToFloat64(strconv.FormatInt(v[9], 10)) + case "delay100ms": + metric.Value = convertToFloat64(strconv.FormatInt(v[10], 10)) + case "delay200ms": + metric.Value = convertToFloat64(strconv.FormatInt(v[11], 10)) + case "delay300ms": + metric.Value = convertToFloat64(strconv.FormatInt(v[12], 10)) + case "delay500ms": + metric.Value = convertToFloat64(strconv.FormatInt(v[13], 10)) + case "delay1s": + metric.Value = convertToFloat64(strconv.FormatInt(v[14], 10)) + case "delay2s": + metric.Value = convertToFloat64(strconv.FormatInt(v[15], 10)) + case "delay3s": + metric.Value = convertToFloat64(strconv.FormatInt(v[16], 10)) } if err := c.Collect(metric); err != nil { @@ -534,7 +688,6 @@ func (p *proxyParser) Parse(m MetricMeta, c Collector, opt ParseOption) { } } }) - } func StructToMap(obj interface{}) (map[string]string, map[string][]int64, error) { diff --git a/tools/pika_exporter/exporter/metrics/proxy.go b/tools/pika_exporter/exporter/metrics/proxy.go index 87a623d0a9..75831722d1 100644 --- a/tools/pika_exporter/exporter/metrics/proxy.go +++ b/tools/pika_exporter/exporter/metrics/proxy.go @@ -113,10 +113,140 @@ var collectPorxyCmdMetrics map[string]MetricConfig = map[string]MetricConfig{ Parser: &proxyParser{}, MetricMeta: &MetaData{ Name: "max_delay", - Help: "The maximum time consumed by this command since the last collection.", + Help: "The maximum time taken for requests on the proxy instance.", Type: metricTypeGauge, Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, ValueName: "max_delay", }, }, + "tp90": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "tp90", + Help: "The TP90 latency for the proxy instance.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "tp90", + }, + }, + "tp99": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "tp99", + Help: "The TP99 latency for the proxy instance.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "tp99", + }, + }, + "tp999": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "tp999", + Help: "The TP999 latency for the proxy instance.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "tp999", + }, + }, + "tp100": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "tp100", + Help: "The Tp100 latency for the proxy instance.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "tp100", + }, + }, + "delayCount": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delayCount", + Help: "Latency command statistics.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delayCount", + }, + }, + "delay50ms": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay50ms", + Help: "The number of commands with latency exceeding 50ms.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay50ms", + }, + }, + "delay100ms": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay100ms", + Help: "The number of commands with latency exceeding 100ms.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay100ms", + }, + }, + "delay200ms": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay200ms", + Help: "The number of commands with latency exceeding 200ms.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay200ms", + }, + }, + "delay300ms": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay300ms", + Help: "The number of commands with latency exceeding 300ms.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay300ms", + }, + }, + "delay500ms": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay500ms", + Help: "The number of commands with latency exceeding 500ms.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay500ms", + }, + }, + "delay1s": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay1s", + Help: "The number of commands with latency exceeding 1s.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay1s", + }, + }, + "delay2s": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay2s", + Help: "The number of commands with latency exceeding 2s.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay2s", + }, + }, + "delay3s": { + Parser: &proxyParser{}, + MetricMeta: &MetaData{ + Name: "delay3s", + Help: "The number of commands with latency exceeding 3s.", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelID, LabelProductName, LabelOpstr}, + ValueName: "delay3s", + }, + }, } diff --git a/tools/pika_exporter/exporter/metrics/replication.go b/tools/pika_exporter/exporter/metrics/replication.go index c2b9a12b53..4318c33dcf 100644 --- a/tools/pika_exporter/exporter/metrics/replication.go +++ b/tools/pika_exporter/exporter/metrics/replication.go @@ -114,20 +114,6 @@ var collectReplicationMetrics = map[string]MetricConfig{ "instance-mode": &equalMatcher{v: "sharding"}, }, Parser: Parsers{ - &versionMatchParser{ - verC: mustNewVersionConstraint(`>=3.4.0,<3.1.0`), - Parser: ®exParser{ - name: "master_sharding_slave_info_slave_lag", - reg: regexp.MustCompile(`slave\d+:ip=(?P[\d.]+),port=(?P[\d.]+),` + - `conn_fd=(?P[\d]+),lag=(?P[^\r\n]*)`), - Parser: ®exParser{ - name: "master_sharding_slave_info_slave_lag", - source: "slave_lag", - reg: regexp.MustCompile(`((?Pdb[\d.]+:[\d.]+).*:(?P[\d]+))`), - Parser: &normalParser{}, - }, - }, - }, &versionMatchParser{ verC: mustNewVersionConstraint(`>=3.4.0,<3.5.0`), Parser: ®exParser{ diff --git a/tools/pika_exporter/exporter/metrics/server.go b/tools/pika_exporter/exporter/metrics/server.go index adaf0ab5dd..cd085305a6 100644 --- a/tools/pika_exporter/exporter/metrics/server.go +++ b/tools/pika_exporter/exporter/metrics/server.go @@ -53,4 +53,14 @@ var collectServerMetrics = map[string]MetricConfig{ ValueName: "sync_thread_num", }, }, + "sync_binlog_thread_num": { + Parser: &normalParser{}, + MetricMeta: &MetaData{ + Name: "sync_binlog_thread_num", + Help: "pika serve instance sync binlog thread num", + Type: metricTypeGauge, + Labels: []string{LabelNameAddr, LabelNameAlias}, + ValueName: "sync_binlog_thread_num", + }, + }, } diff --git a/tools/pika_exporter/exporter/metrics/stats.go b/tools/pika_exporter/exporter/metrics/stats.go index 6fb0d59dc6..a8ac75914a 100644 --- a/tools/pika_exporter/exporter/metrics/stats.go +++ b/tools/pika_exporter/exporter/metrics/stats.go @@ -38,7 +38,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "total_net_input_bytes": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "total_net_input_bytes", Help: "the total number of bytes read from the network", @@ -48,7 +51,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "total_net_output_bytes": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "total_net_output_bytes", Help: "the total number of bytes written to the network", @@ -58,7 +64,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "total_net_repl_input_bytes": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "total_net_repl_input_bytes", Help: "the total number of bytes read from the network for replication purposes", @@ -68,7 +77,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "total_net_repl_output_bytes": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "total_net_repl_output_bytes", Help: "the total number of bytes written to the network for replication purposes", @@ -78,7 +90,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "instantaneous_input_kbps": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "instantaneous_input_kbps", Help: "the network's read rate per second in KB/sec, calculated as an average of 16 samples collected every 5 seconds.", @@ -88,7 +103,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "instantaneous_output_kbps": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "instantaneous_output_kbps", Help: "the network's write rate per second in KB/sec, calculated as an average of 16 samples collected every 5 seconds.", @@ -98,7 +116,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "instantaneous_input_repl_kbps": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "instantaneous_input_repl_kbps", Help: "the network's read rate per second in KB/sec for replication purposes, calculated as an average of 16 samples collected every 5 seconds.", @@ -108,7 +129,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "instantaneous_output_repl_kbps": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "instantaneous_output_repl_kbps", Help: "the network's write rate per second in KB/sec for replication purposes, calculated as an average of 16 samples collected every 5 seconds.", @@ -159,7 +183,10 @@ var collectStatsMetrics = map[string]MetricConfig{ }, }, "total_slow_log": { - Parser: &normalParser{}, + Parser: &versionMatchParser{ + verC: mustNewVersionConstraint(`>=3.4.0`), + Parser: &normalParser{}, + }, MetricMeta: &MetaData{ Name: "total_slow_log", Help: "pika serve instance total count of slow log", diff --git a/tools/pika_exporter/exporter/parser.go b/tools/pika_exporter/exporter/parser.go index b6543dfb46..be604e7264 100644 --- a/tools/pika_exporter/exporter/parser.go +++ b/tools/pika_exporter/exporter/parser.go @@ -50,9 +50,7 @@ func extractInfo(s string) (map[string]string, error) { } func trimSpace(s string) string { - s = strings.TrimLeft(s, " ") - s = strings.TrimRight(s, " ") - return s + return strings.TrimSpace(s) } func fetchKV(s string) (k, v string) { diff --git a/tools/pika_exporter/exporter/pika.go b/tools/pika_exporter/exporter/pika.go index 0e74da6356..6c9ee1b6d6 100644 --- a/tools/pika_exporter/exporter/pika.go +++ b/tools/pika_exporter/exporter/pika.go @@ -216,11 +216,6 @@ func (e *exporter) scrape(ch chan<- prometheus.Metric) { } func (e *exporter) collectInfo(c *client, ch chan<- prometheus.Metric) error { - // update info config - if err := LoadConfig(); err != nil { - log.Errorln("load config failed:", err) - return err - } info, err := c.GetInfo() if err != nil { return err @@ -232,14 +227,23 @@ func (e *exporter) collectInfo(c *client, ch chan<- prometheus.Metric) error { } extracts[metrics.LabelNameAddr] = c.Addr() extracts[metrics.LabelNameAlias] = c.Alias() - extracts[metrics.LabelInstanceMode], err = c.InstanceModeInfo() + + // For Pika 3.2.x versions, InstanceMode and ConsensusLevel may not be supported + // Use default values if the commands fail + instanceMode, err := c.InstanceModeInfo() if err != nil { - return err + log.Debugf("InstanceModeInfo not supported, using default 'classic': %v", err) + instanceMode = "classic" } - extracts[metrics.LabelConsensusLevel], err = c.LabelConsensusLevelInfo() + extracts[metrics.LabelInstanceMode] = instanceMode + + consensusLevel, err := c.LabelConsensusLevelInfo() if err != nil { - return err + log.Debugf("LabelConsensusLevelInfo not supported, using default '': %v", err) + consensusLevel = "" } + extracts[metrics.LabelConsensusLevel] = consensusLevel + collector := metrics.CollectFunc(func(m metrics.Metric) error { promMetric, err := prometheus.NewConstMetric( prometheus.NewDesc(prometheus.BuildFQName(e.namespace, "", m.Name), m.Help, m.Labels, nil), @@ -264,32 +268,56 @@ func (e *exporter) collectInfo(c *client, ch chan<- prometheus.Metric) error { return nil } -const ( - VERSION_336 = "3.3.6" - VERSION_350 = "3.5.0" - VERSION_355 = "3.5.5" -) - func selectversion(version string) metrics.VersionChecker { if !isValidVersion(version) { - log.Warnf("Invalid version format: %s", version) + // Silently return nil for invalid version - this will be handled gracefully return nil } + + // Parse version to major.minor.patch + major, minor, patch := parseVersion(version) + var v metrics.VersionChecker - switch version { - case VERSION_336: - v = &metrics.VersionChecker336{} - case VERSION_355: + + // Version-specific metric availability mapping: + // - 3.5.x: Latest version with most metrics available + // - 3.4.x: Similar to 3.5.0, some cache metrics removed + // - 3.3.6: Specific version with different metric set + // - 3.3.x (except 3.3.6): Use 3.3.5 defaults + // - 3.2.x: Older version with different metric availability + // - Other versions: Use default checker with conservative assumptions + + switch { + case major == 3 && minor == 5: + // 3.5.x series (3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.5.5, etc.) v = &metrics.VersionChecker355{} - case VERSION_350: + case major == 3 && minor == 4: + // 3.4.x series v = &metrics.VersionChecker350{} + case major == 3 && minor == 3 && patch == 6: + // Specific version 3.3.6 + v = &metrics.VersionChecker336{} + case major == 3 && minor == 3: + // 3.3.x series (except 3.3.6) - use 3.3.5 defaults + v = &metrics.VersionChecker335{} + case major == 3 && minor == 2: + // 3.2.x series - older version + v = &metrics.VersionChecker320{} default: - return nil + // For unknown versions, use a default version checker + v = &metrics.VersionCheckerDefault{} } + v.InitVersionChecker() return v } +// parseVersion parses version string to major, minor, patch numbers +func parseVersion(version string) (major, minor, patch int) { + fmt.Sscanf(version, "%d.%d.%d", &major, &minor, &patch) + return +} + // isValidVersion validates the version string format (e.g., x.y.z) func isValidVersion(version string) bool { matched, _ := regexp.MatchString(`^\d+\.\d+\.\d+$`, version) @@ -299,21 +327,20 @@ func (e *exporter) collectKeys(c *client) error { allKeys := append([]dbKeyPair{}, e.keys...) keys, err := getKeysFromPatterns(c, e.keyPatterns, e.scanCount) if err != nil { - log.Errorf("get keys from patterns failed. addr:%s err:%s", c.Addr(), err.Error()) + // Silently continue on error - this is normal for version-specific features } else { allKeys = append(allKeys, keys...) } - log.Debugf("collectKeys allKeys:%#v", allKeys) for _, k := range allKeys { if err := c.Select(k.db); err != nil { - log.Warnf("couldn't select database %s when getting key info. addr:%s", k.db, c.Addr()) + // Silently skip database selection errors continue } keyInfo, err := c.Type(k.key) if err != nil { - log.Warnf("get key info failed. addr:%s key:%s err:%s", c.Addr(), k.key, err.Error()) + // Silently skip key type errors continue } @@ -373,7 +400,7 @@ func getKeysFromPatterns(c *client, keyPatterns []dbKeyPair, scanCount int) ([]d } keyNames, err := c.Scan(kp.key, scanCount) if err != nil { - log.Errorln("get keys from patterns scan failed. pattern:", kp.key) + // Silently continue on scan errors - this is normal for version-specific features continue } for _, keyName := range keyNames { @@ -407,11 +434,11 @@ func (e *exporter) statsKeySpace(hour int) { for _, v := range e.dis.GetInstances() { c, err := newClient(v.Addr, v.Password, v.Alias) if err != nil { - log.Warnln("stats KeySpace new pika client failed. err:", err) + // Silently continue on client creation errors continue } if _, err := c.InfoKeySpaceOne(); err != nil { - log.Warnln("stats KeySpace execute INFO KEYSPACE 1 failed. err:", err) + // Silently continue on INFO KEYSPACE errors - this is normal for version-specific features } c.Close() } diff --git a/tools/pika_exporter/exporter/test/test.go b/tools/pika_exporter/exporter/test/test.go index 463090abdb..2c9e733481 100644 --- a/tools/pika_exporter/exporter/test/test.go +++ b/tools/pika_exporter/exporter/test/test.go @@ -27,9 +27,18 @@ var InfoCases = []struct { // {"v3.2.7_slave", V327SlaveInfo}, + {"v3.2.0_master", V320MasterInfo}, + {"v3.2.0_slave", V320SlaveInfo}, + + {"v3.2.8_master", V328MasterInfo}, + {"v3.2.8_slave", V328SlaveInfo}, + {"v3.3.5_master", V335MasterInfo}, {"v3.3.5_slave", V335SlaveInfo}, + {"v3.3.6_master", V336MasterInfo}, + {"v3.3.6_slave", V336SlaveInfo}, + {"v3.4.2_master", V342MasterInfo}, {"v3.4.2_slave", V342SlaveInfo}, {"v3.4.2_pika", V342PikaInfo}, @@ -37,4 +46,7 @@ var InfoCases = []struct { {"v3.5.0_master", V350MasterInfo}, {"v3.5.0_slave", V350SlaveInfo}, {"v3.5.0_pika", V350PikaInfo}, + + {"v3.5.5_master", V355MasterInfo}, + {"v3.5.5_slave", V355SlaveInfo}, } diff --git a/tools/pika_exporter/exporter/test/v3.2.0_master.go b/tools/pika_exporter/exporter/test/v3.2.0_master.go new file mode 100644 index 0000000000..6bcbcff346 --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.2.0_master.go @@ -0,0 +1,75 @@ +package test + +// V320MasterInfo represents Pika 3.2.0 master instance info +var V320MasterInfo = `# Server +pika_version:3.2.0 +pika_git_sha:bd30511bf82038c2c6531b3d84872c9825fe836a +pika_build_compile_date: Sep 8 2021 +os:Linux 3.10.0-693.el7.x86_64 x86_64 +arch_bits:64 +process_id:12549 +tcp_port:9221 +thread_num:4 +sync_thread_num:6 +uptime_in_seconds:8056286 +uptime_in_days:94 +config_file:/app/pika/pika-9221.conf +server_id:1 + +# Data +db_size:41971885221 +db_size_human:40027M +log_size:5150573069 +log_size_human:4911M +compression:snappy +used_memory:1445394489 +used_memory_human:1378M +db_memtable_usage:42493512 +db_tablereader_usage:1402900977 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:7 + +# Stats +total_connections_received:496042 +instantaneous_ops_per_sec:106 +total_commands_processed:11590807682 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron:03-04/30 +compact_interval: + +# Command_Exec_Count +INFO:464159 +DEL:27429572 +PING:2033416 +EXPIRE:3717952643 +GET:3807086732 +SET:4035576044 +HGETALL:1 +CONFIG:132516 +SLOWLOG:132599 + +# CPU +used_cpu_sys:226152.34 +used_cpu_user:842762.56 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(MASTER) +role:master +connected_slaves:1 +slave0:ip=192.168.201.82,port=9221,conn_fd=88,lag=(db0:0) +db0 binlog_offset=17794 8127680,safety_purge=write2file17784 + +# Keyspace +# Time:2023-04-14 01:16:01 +# Duration: 41s +db0 Strings_keys=40523556, expires=33332598, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.2.0_slave.go b/tools/pika_exporter/exporter/test/v3.2.0_slave.go new file mode 100644 index 0000000000..5b6b068dfa --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.2.0_slave.go @@ -0,0 +1,78 @@ +package test + +// V320SlaveInfo represents Pika 3.2.0 slave instance info +var V320SlaveInfo = `# Server +pika_version:3.2.0 +pika_git_sha:bd30511bf82038c2c6531b3d84872c9825fe836a +pika_build_compile_date: Sep 8 2021 +os:Linux 3.10.0-693.el7.x86_64 x86_64 +arch_bits:64 +process_id:12550 +tcp_port:9221 +thread_num:4 +sync_thread_num:6 +uptime_in_seconds:8056286 +uptime_in_days:94 +config_file:/app/pika/pika-9221.conf +server_id:2 + +# Data +db_size:41971885221 +db_size_human:40027M +log_size:5150573069 +log_size_human:4911M +compression:snappy +used_memory:1445394489 +used_memory_human:1378M +db_memtable_usage:42493512 +db_tablereader_usage:1402900977 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:7 + +# Stats +total_connections_received:496042 +instantaneous_ops_per_sec:106 +total_commands_processed:11590807682 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron:03-04/30 +compact_interval: + +# Command_Exec_Count +INFO:464159 +DEL:27429572 +PING:2033416 +EXPIRE:3717952643 +GET:3807086732 +SET:4035576044 +HGETALL:1 +CONFIG:132516 +SLOWLOG:132599 + +# CPU +used_cpu_sys:226152.34 +used_cpu_user:842762.56 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(SLAVE) +role:slave +master_host:192.168.201.81 +master_port:9221 +master_link_status:up +slave_read_only:1 +slave_priority:100 +db0 binlog_offset=17794 8127680,safety_purge=write2file17784 + +# Keyspace +# Time:2023-04-14 01:16:01 +# Duration: 41s +db0 Strings_keys=40523556, expires=33332598, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.2.8_master.go b/tools/pika_exporter/exporter/test/v3.2.8_master.go new file mode 100644 index 0000000000..0ccd648fde --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.2.8_master.go @@ -0,0 +1,63 @@ +package test + +// V328MasterInfo represents Pika 3.2.8 master instance info +var V328MasterInfo = `# Server +pika_version:3.2.8 +pika_git_sha:f6a355ac56c8c439ecca53c3a6c3a159ef3da90a +pika_build_compile_date: Dec 20 2019 +os:Linux 4.19.49-1.el7.x86_64 x86_64 +arch_bits:64 +process_id:40310 +tcp_port:8850 +thread_num:12 +sync_thread_num:12 +uptime_in_seconds:173148695 +uptime_in_days:2005 +config_file:/data1/pika8850/pika8850.conf +server_id:1 + +# Data +db_size:110944960930 +db_size_human:105805M +log_size:957508433 +log_size_human:913M +compression:snappy +used_memory:981717521 +used_memory_human:936M +db_memtable_usage:22225696 +db_tablereader_usage:959491825 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:1441 + +# Stats +total_connections_received:79121 +instantaneous_ops_per_sec:167 +total_commands_processed:11591054 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: + +# CPU +used_cpu_sys:4510111.00 +used_cpu_user:1665861.38 +used_cpu_sys_children:1302.07 +used_cpu_user_children:2768.07 + +# Replication(MASTER) +role:master +connected_slaves:5 +slave0:ip=10.175.13.76,port=8850,conn_fd=3623,lag=(db0:0) +db0 binlog_offset=14275 9266464,safety_purge=write2file14265 + +# Keyspace +# Time:1970-01-01 08:00:00 +db0 Strings_keys=0, expires=0, invaild_keys=0 +db0 Hashes_keys=0, expires=0, invaild_keys=0 +db0 Lists_keys=0, expires=0, invaild_keys=0 +db0 Zsets_keys=0, expires=0, invaild_keys=0 +db0 Sets_keys=0, expires=0, invaild_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.2.8_slave.go b/tools/pika_exporter/exporter/test/v3.2.8_slave.go new file mode 100644 index 0000000000..fe2ac5fa63 --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.2.8_slave.go @@ -0,0 +1,66 @@ +package test + +// V328SlaveInfo represents Pika 3.2.8 slave instance info +var V328SlaveInfo = `# Server +pika_version:3.2.8 +pika_git_sha:f6a355ac56c8c439ecca53c3a6c3a159ef3da90a +pika_build_compile_date: Dec 20 2019 +os:Linux 4.19.91-27.2.an8.x86_64 x86_64 +arch_bits:64 +process_id:1587109 +tcp_port:8850 +thread_num:12 +sync_thread_num:12 +uptime_in_seconds:15840979 +uptime_in_days:184 +config_file:/data1/pika8850/pika8850.conf +server_id:1 + +# Data +db_size:110987871832 +db_size_human:105846M +log_size:117601826 +log_size_human:112M +compression:snappy +used_memory:982875737 +used_memory_human:937M +db_memtable_usage:23029184 +db_tablereader_usage:959846553 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:739 + +# Stats +total_connections_received:63065 +instantaneous_ops_per_sec:87 +total_commands_processed:5951615 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: + +# CPU +used_cpu_sys:397392.81 +used_cpu_user:143773.08 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(SLAVE) +role:slave +master_host:10.175.131.182 +master_port:8850 +master_link_status:up +slave_priority:0 +slave_read_only:1 +db0 binlog_offset=14275 9267088,safety_purge=write2file14265 + +# Keyspace +# Time:1970-01-01 08:00:00 +db0 Strings_keys=0, expires=0, invaild_keys=0 +db0 Hashes_keys=0, expires=0, invaild_keys=0 +db0 Lists_keys=0, expires=0, invaild_keys=0 +db0 Zsets_keys=0, expires=0, invaild_keys=0 +db0 Sets_keys=0, expires=0, invaild_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.3.6_master.go b/tools/pika_exporter/exporter/test/v3.3.6_master.go new file mode 100644 index 0000000000..8a584d6a10 --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.3.6_master.go @@ -0,0 +1,76 @@ +package test + +// V336MasterInfo represents Pika 3.3.6 master instance info +var V336MasterInfo = `# Server +pika_version:3.3.6 +pika_git_sha:9e74c8cd0040a0a63c35e9d426c7d3b6464b378e +pika_build_compile_date: Dec 4 2020 +os:Linux 4.19.49-1.el7.x86_64 x86_64 +arch_bits:64 +process_id:42694 +tcp_port:26245 +thread_num:20 +sync_thread_num:12 +uptime_in_seconds:159960482 +uptime_in_days:1852 +config_file:/data1/pika26245/pika26245.conf +server_id:1 + +# Data +db_size:85239430517 +db_size_human:81290M +log_size:949684206 +log_size_human:905M +compression:snappy +used_memory:1260691892 +used_memory_human:1202M +db_memtable_usage:156492328 +db_tablereader_usage:1104199564 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:2881 + +# Stats +total_connections_received:80071 +instantaneous_ops_per_sec:324 +total_commands_processed:21756528 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: + +# Command_Exec_Count +SCAN:1 +INFO:32649709 +SELECT:3977197 +PING:25459644293 +AUTH:41106287 +GET:2245849546 +SET:244940320 +MONITOR:1 +CONFIG:21816695 +SLOWLOG:553706 +SETEX:8 + +# CPU +used_cpu_sys:8039902.50 +used_cpu_user:2010937.25 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(MASTER) +role:master +connected_slaves:5 +slave0:ip=10.218.51.8,port=26245,conn_fd=1181,lag=(db0:0) +db0 binlog_offset=1690 273344,safety_purge=write2file1680 + +# Keyspace +# Time:1970-01-01 08:00:00 +db0 Strings_keys=0, expires=0, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.3.6_slave.go b/tools/pika_exporter/exporter/test/v3.3.6_slave.go new file mode 100644 index 0000000000..a1a562c707 --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.3.6_slave.go @@ -0,0 +1,66 @@ +package test + +// V336SlaveInfo represents Pika 3.3.6 slave instance info +var V336SlaveInfo = `# Server +pika_version:3.3.6 +pika_git_sha:9e74c8cd0040a0a63c35e9d426c7d3b6464b378e +pika_build_compile_date: Dec 4 2020 +os:Linux 4.19.49-1.el7.x86_64 x86_64 +arch_bits:64 +process_id:24125 +tcp_port:26245 +thread_num:20 +sync_thread_num:12 +uptime_in_seconds:159960531 +uptime_in_days:1852 +config_file:/data1/pika26245/pika26245.conf +server_id:1 + +# Data +db_size:85074567821 +db_size_human:81133M +log_size:954638636 +log_size_human:910M +compression:snappy +used_memory:1268591215 +used_memory_human:1209M +db_memtable_usage:166536376 +db_tablereader_usage:1102054839 +db_fatal:0 +db_fatal_msg:NULL + +# Clients +connected_clients:1 + +# Stats +total_connections_received:63556 +instantaneous_ops_per_sec:0 +total_commands_processed:65292 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: + +# CPU +used_cpu_sys:6318819.00 +used_cpu_user:1798476.12 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(SLAVE) +role:slave +master_host:10.175.131.136 +master_port:26245 +master_link_status:up +slave_priority:32362144 +slave_read_only:1 +db0 binlog_offset=1690 273448,safety_purge=write2file1680 + +# Keyspace +# Time:1970-01-01 08:00:00 +db0 Strings_keys=0, expires=0, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0` diff --git a/tools/pika_exporter/exporter/test/v3.5.5_master.go b/tools/pika_exporter/exporter/test/v3.5.5_master.go new file mode 100644 index 0000000000..0942202359 --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.5.5_master.go @@ -0,0 +1,574 @@ +package test + +var V355MasterInfo = `# Server +pika_version:3.5.5 +pika_git_sha:29a7629bc97c237531f12689b92cb59ee73bdef7 +pika_build_compile_date: 2025-07-30 10:25:07 +os:Linux 4.19.91-27.2.an8.x86_64 x86_64 +arch_bits:64 +process_id:3483206 +tcp_port:5436 +thread_num:4 +sync_thread_num:2 +sync_binlog_thread_num:1 +uptime_in_seconds:11511104 +uptime_in_days:134 +config_file:/data02/pika5436/pika5436.conf +server_id:1 +run_id:55070bbe17d5ac6c5310b86f367efcbf26e23f87 + +# Data +db_size:22812537818 +db_size_human:21755M +log_size:991009996 +log_size_human:945M +compression:snappy +used_memory:521969468 +used_memory_human:497M +db_memtable_usage:33579008 +db_tablereader_usage:488390460 +db_fatal:0 +db_fatal_msg:nullptr + +# Clients +connected_clients:1 + +# Stats +total_connections_received:118661 +instantaneous_ops_per_sec:1 +total_commands_processed:66245 +total_net_input_bytes:45958842766 +total_net_output_bytes:119880559018 +total_net_repl_input_bytes:45548052381 +total_net_repl_output_bytes:68472471039 +instantaneous_input_kbps:0.474609 +instantaneous_output_kbps:22.9424 +instantaneous_input_repl_kbps:0.290039 +instantaneous_output_repl_kbps:0.176758 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: +is_slots_reloading:No, , 0 +is_slots_cleaningup:No, , 0 +is_slots_migrating:No, , 0 +slow_logs_count:0 + +# Command_Exec_Count +SET:238193967 +SADD:35933 +INFO:2663740 +GET:39816 +SLAVEOF:15 +ZADD:11003 +PING:15 +AUTH:2849789 +MONITOR:16 +BGSAVE:25 +HMSET:102630 +SCAN:19 +RPUSH:16338 +CONFIG:4984234 + +# Commandstats +slaveof:calls=15, usec=3.08, usec_per_call=0.21 +bgsave:calls=25, usec=1.88, usec_per_call=0.08 +info:calls=2663739, usec=3914175.92, usec_per_call=1.47 +monitor:calls=16, usec=0.37, usec_per_call=0.02 +get:calls=39816, usec=1158.24, usec_per_call=0.03 +ping:calls=15, usec=0.26, usec_per_call=0.02 +auth:calls=2849789, usec=90852.64, usec_per_call=0.03 +scan:calls=19, usec=3.21, usec_per_call=0.17 +config:calls=4984234, usec=113595.00, usec_per_call=0.02 +set:calls=193039, usec=15532.41, usec_per_call=0.08 + +# Cache +cache_status:Disable + +# CPU +used_cpu_sys:4282.90 +used_cpu_user:9610.00 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(MASTER) +role:master +ReplicationID:40174f033ff85653ac7fd3ec4d9de8f33c2e21e95bd1262970 +connected_slaves:2 +slave0:ip=10.242.36.21,port=5436,conn_fd=1078,lag=(db0:0) +slave1:ip=10.242.36.49,port=5436,conn_fd=66,lag=(db0:0) +is_eligible_for_master_election:true +db0:binlog_offset=368 42825120,safety_purge=write2file358 +slave_repl_offset:38630421920 + +# Keyspace +# Start async statistics +# Time:0 +db0 Strings_keys=0, expires=0, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0 + + +# RocksDB +#strings_RocksDB +strings_num_immutable_mem_table:0 +strings_num_immutable_mem_table_flushed:0 +strings_mem_table_flush_pending:0 +strings_num_running_flushes:0 +strings_compaction_pending:0 +strings_num_running_compactions:0 +strings_background_errors:0 +strings_cur_size_active_mem_table:33556480 +strings_cur_size_all_mem_tables:33556480 +strings_size_all_mem_tables:33556480 +strings_estimate_num_keys:239070333 +strings_estimate_table_readers_mem:472254516 +strings_num_snapshots:0 +strings_num_live_versions:1 +strings_current_super_version_number:1627 +strings_estimate_live_data_size:21510423320 +strings_total_sst_files_size:21673347794 +strings_live_sst_files_size:21673347794 +strings_estimate_pending_compaction_bytes:0 +strings_block_cache_capacity:2147483648 +strings_block_cache_usage:96 +strings_block_cache_pinned_usage:96 +strings_num_blob_files:0 +strings_blob_stats:1 +strings_total_blob_file_size:0 +strings_live_blob_file_size:0 +strings_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +strings_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +strings_compaction.L0.AvgSec: 0.577369 +strings_compaction.L0.CompCount: 132.000000 +strings_compaction.L0.CompMergeCPU: 75.306574 +strings_compaction.L0.CompSec: 76.212661 +strings_compaction.L0.CompactedFiles: 0.000000 +strings_compaction.L0.KeyDrop: 0.000000 +strings_compaction.L0.KeyIn: 0.000000 +strings_compaction.L0.MovedGB: 0.000000 +strings_compaction.L0.NumFiles: 1.000000 +strings_compaction.L0.RblobGB: 0.000000 +strings_compaction.L0.ReadGB: 0.000000 +strings_compaction.L0.ReadMBps: 0.000000 +strings_compaction.L0.RnGB: 0.000000 +strings_compaction.L0.Rnp1GB: 0.000000 +strings_compaction.L0.Score: 0.250000 +strings_compaction.L0.SizeBytes: 1291.000000 +strings_compaction.L0.WblobGB: 0.000000 +strings_compaction.L0.WnewGB: 20.574955 +strings_compaction.L0.WriteAmp: 1.000000 +strings_compaction.L0.WriteGB: 20.574955 +strings_compaction.L0.WriteMBps: 276.446897 +strings_compaction.L4.AvgSec: 2.809312 +strings_compaction.L4.CompCount: 59.000000 +strings_compaction.L4.CompMergeCPU: 153.335163 +strings_compaction.L4.CompSec: 165.749412 +strings_compaction.L4.CompactedFiles: 0.000000 +strings_compaction.L4.KeyDrop: 85.000000 +strings_compaction.L4.KeyIn: 330909613.000000 +strings_compaction.L4.MovedGB: 0.000000 +strings_compaction.L4.NumFiles: 14.000000 +strings_compaction.L4.RblobGB: 0.000000 +strings_compaction.L4.ReadGB: 25.316844 +strings_compaction.L4.ReadMBps: 156.407483 +strings_compaction.L4.RnGB: 17.299404 +strings_compaction.L4.Rnp1GB: 8.017440 +strings_compaction.L4.Score: 0.927166 +strings_compaction.L4.SizeBytes: 248884307.000000 +strings_compaction.L4.WblobGB: 0.000000 +strings_compaction.L4.WnewGB: 17.299660 +strings_compaction.L4.WriteAmp: 1.463467 +strings_compaction.L4.WriteGB: 25.317100 +strings_compaction.L4.WriteMBps: 156.409060 +strings_compaction.L5.AvgSec: 0.288949 +strings_compaction.L5.CompCount: 489.000000 +strings_compaction.L5.CompMergeCPU: 137.468382 +strings_compaction.L5.CompSec: 141.295883 +strings_compaction.L5.CompactedFiles: 0.000000 +strings_compaction.L5.KeyDrop: 9.000000 +strings_compaction.L5.KeyIn: 238593642.000000 +strings_compaction.L5.MovedGB: 1.047475 +strings_compaction.L5.NumFiles: 89.000000 +strings_compaction.L5.RblobGB: 0.000000 +strings_compaction.L5.ReadGB: 18.941386 +strings_compaction.L5.ReadMBps: 137.272077 +strings_compaction.L5.RnGB: 18.815442 +strings_compaction.L5.Rnp1GB: 0.125945 +strings_compaction.L5.Score: 0.989415 +strings_compaction.L5.SizeBytes: 1928919001.000000 +strings_compaction.L5.WblobGB: 0.000000 +strings_compaction.L5.WnewGB: 18.669424 +strings_compaction.L5.WriteAmp: 0.998933 +strings_compaction.L5.WriteGB: 18.795369 +strings_compaction.L5.WriteMBps: 136.213859 +strings_compaction.L6.AvgSec: 0.278018 +strings_compaction.L6.CompCount: 24.000000 +strings_compaction.L6.CompMergeCPU: 6.106510 +strings_compaction.L6.CompSec: 6.672425 +strings_compaction.L6.CompactedFiles: 0.000000 +strings_compaction.L6.KeyDrop: 0.000000 +strings_compaction.L6.KeyIn: 5104306.000000 +strings_compaction.L6.MovedGB: 15.653928 +strings_compaction.L6.NumFiles: 877.000000 +strings_compaction.L6.RblobGB: 0.000000 +strings_compaction.L6.ReadGB: 2.772516 +strings_compaction.L6.ReadMBps: 425.490854 +strings_compaction.L6.RnGB: 2.747027 +strings_compaction.L6.Rnp1GB: 0.025489 +strings_compaction.L6.Score: 0.000000 +strings_compaction.L6.SizeBytes: 19495543195.000000 +strings_compaction.L6.WblobGB: 0.000000 +strings_compaction.L6.WnewGB: 2.502712 +strings_compaction.L6.WriteAmp: 0.920341 +strings_compaction.L6.WriteGB: 2.528201 +strings_compaction.L6.WriteMBps: 387.996511 +strings_compaction.Sum.AvgSec: 0.553878 +strings_compaction.Sum.CompCount: 704.000000 +strings_compaction.Sum.CompMergeCPU: 372.216629 +strings_compaction.Sum.CompSec: 389.930381 +strings_compaction.Sum.CompactedFiles: 0.000000 +strings_compaction.Sum.KeyDrop: 94.000000 +strings_compaction.Sum.KeyIn: 574607561.000000 +strings_compaction.Sum.MovedGB: 16.701402 +strings_compaction.Sum.NumFiles: 981.000000 +strings_compaction.Sum.RblobGB: 0.000000 +strings_compaction.Sum.ReadGB: 47.030746 +strings_compaction.Sum.ReadMBps: 123.507904 +strings_compaction.Sum.RnGB: 38.861873 +strings_compaction.Sum.Rnp1GB: 8.168874 +strings_compaction.Sum.Score: 0.000000 +strings_compaction.Sum.SizeBytes: 21673347794.000000 +strings_compaction.Sum.WblobGB: 0.000000 +strings_compaction.Sum.WnewGB: 59.046751 +strings_compaction.Sum.WriteAmp: 3.266866 +strings_compaction.Sum.WriteGB: 67.215624 +strings_compaction.Sum.WriteMBps: 176.515610 +strings_l0-file-count-limit-delays: 0 +strings_l0-file-count-limit-stops: 0 +strings_memtable-limit-delays: 0 +strings_memtable-limit-stops: 0 +strings_pending-compaction-bytes-delays: 0 +strings_pending-compaction-bytes-stops: 0 +strings_total-delays: 0 +strings_total-stops: 0 +#hashes_RocksDB +hashes_num_immutable_mem_table:0 +hashes_num_immutable_mem_table_flushed:0 +hashes_mem_table_flush_pending:0 +hashes_num_running_flushes:0 +hashes_compaction_pending:0 +hashes_num_running_compactions:0 +hashes_background_errors:0 +hashes_cur_size_active_mem_table:4096 +hashes_cur_size_all_mem_tables:4096 +hashes_size_all_mem_tables:4096 +hashes_estimate_num_keys:307528 +hashes_estimate_table_readers_mem:552728 +hashes_num_snapshots:0 +hashes_num_live_versions:2 +hashes_current_super_version_number:6 +hashes_estimate_live_data_size:14394569 +hashes_total_sst_files_size:14394569 +hashes_live_sst_files_size:14394569 +hashes_estimate_pending_compaction_bytes:0 +hashes_block_cache_capacity:4294967296 +hashes_block_cache_usage:192 +hashes_block_cache_pinned_usage:192 +hashes_num_blob_files:0 +hashes_blob_stats:22122264 +hashes_total_blob_file_size:0 +hashes_live_blob_file_size:0 +hashes_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +hashes_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +hashes_compaction.L0.AvgSec: 0.030032 +hashes_compaction.L0.CompCount: 1.000000 +hashes_compaction.L0.CompMergeCPU: 0.029547 +hashes_compaction.L0.CompSec: 0.030032 +hashes_compaction.L0.CompactedFiles: 0.000000 +hashes_compaction.L0.KeyDrop: 0.000000 +hashes_compaction.L0.KeyIn: 0.000000 +hashes_compaction.L0.MovedGB: 0.000000 +hashes_compaction.L0.NumFiles: 1.000000 +hashes_compaction.L0.RblobGB: 0.000000 +hashes_compaction.L0.ReadGB: 0.000000 +hashes_compaction.L0.ReadMBps: 0.000000 +hashes_compaction.L0.RnGB: 0.000000 +hashes_compaction.L0.Rnp1GB: 0.000000 +hashes_compaction.L0.Score: 0.250000 +hashes_compaction.L0.SizeBytes: 3467349.000000 +hashes_compaction.L0.WblobGB: 0.000000 +hashes_compaction.L0.WnewGB: 0.003229 +hashes_compaction.L0.WriteAmp: 1.000000 +hashes_compaction.L0.WriteGB: 0.003229 +hashes_compaction.L0.WriteMBps: 110.102943 +hashes_compaction.Sum.AvgSec: 0.030032 +hashes_compaction.Sum.CompCount: 1.000000 +hashes_compaction.Sum.CompMergeCPU: 0.029547 +hashes_compaction.Sum.CompSec: 0.030032 +hashes_compaction.Sum.CompactedFiles: 0.000000 +hashes_compaction.Sum.KeyDrop: 0.000000 +hashes_compaction.Sum.KeyIn: 0.000000 +hashes_compaction.Sum.MovedGB: 0.000000 +hashes_compaction.Sum.NumFiles: 1.000000 +hashes_compaction.Sum.RblobGB: 0.000000 +hashes_compaction.Sum.ReadGB: 0.000000 +hashes_compaction.Sum.ReadMBps: 0.000000 +hashes_compaction.Sum.RnGB: 0.000000 +hashes_compaction.Sum.Rnp1GB: 0.000000 +hashes_compaction.Sum.Score: 0.000000 +hashes_compaction.Sum.SizeBytes: 3467349.000000 +hashes_compaction.Sum.WblobGB: 0.000000 +hashes_compaction.Sum.WnewGB: 0.003229 +hashes_compaction.Sum.WriteAmp: 1.000000 +hashes_compaction.Sum.WriteGB: 0.003229 +hashes_compaction.Sum.WriteMBps: 110.102943 +hashes_l0-file-count-limit-delays: 0 +hashes_l0-file-count-limit-stops: 0 +hashes_memtable-limit-delays: 0 +hashes_memtable-limit-stops: 0 +hashes_pending-compaction-bytes-delays: 0 +hashes_pending-compaction-bytes-stops: 0 +hashes_total-delays: 0 +hashes_total-stops: 0 +#lists_RocksDB +lists_num_immutable_mem_table:0 +lists_num_immutable_mem_table_flushed:0 +lists_mem_table_flush_pending:0 +lists_num_running_flushes:0 +lists_compaction_pending:0 +lists_num_running_compactions:0 +lists_background_errors:0 +lists_cur_size_active_mem_table:4096 +lists_cur_size_all_mem_tables:4096 +lists_size_all_mem_tables:4096 +lists_estimate_num_keys:165482 +lists_estimate_table_readers_mem:1275679 +lists_num_snapshots:0 +lists_num_live_versions:2 +lists_current_super_version_number:6 +lists_estimate_live_data_size:123538200 +lists_total_sst_files_size:123538200 +lists_live_sst_files_size:123538200 +lists_estimate_pending_compaction_bytes:0 +lists_block_cache_capacity:4294967296 +lists_block_cache_usage:192 +lists_block_cache_pinned_usage:192 +lists_num_blob_files:0 +lists_blob_stats:22122264 +lists_total_blob_file_size:0 +lists_live_blob_file_size:0 +lists_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +lists_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +lists_compaction.L0.AvgSec: 0.006108 +lists_compaction.L0.CompCount: 1.000000 +lists_compaction.L0.CompMergeCPU: 0.005811 +lists_compaction.L0.CompSec: 0.006108 +lists_compaction.L0.CompactedFiles: 0.000000 +lists_compaction.L0.KeyDrop: 0.000000 +lists_compaction.L0.KeyIn: 0.000000 +lists_compaction.L0.MovedGB: 0.000000 +lists_compaction.L0.NumFiles: 1.000000 +lists_compaction.L0.RblobGB: 0.000000 +lists_compaction.L0.ReadGB: 0.000000 +lists_compaction.L0.ReadMBps: 0.000000 +lists_compaction.L0.RnGB: 0.000000 +lists_compaction.L0.Rnp1GB: 0.000000 +lists_compaction.L0.Score: 0.250000 +lists_compaction.L0.SizeBytes: 842452.000000 +lists_compaction.L0.WblobGB: 0.000000 +lists_compaction.L0.WnewGB: 0.000785 +lists_compaction.L0.WriteAmp: 1.000000 +lists_compaction.L0.WriteGB: 0.000785 +lists_compaction.L0.WriteMBps: 131.514951 +lists_compaction.Sum.AvgSec: 0.006108 +lists_compaction.Sum.CompCount: 1.000000 +lists_compaction.Sum.CompMergeCPU: 0.005811 +lists_compaction.Sum.CompSec: 0.006108 +lists_compaction.Sum.CompactedFiles: 0.000000 +lists_compaction.Sum.KeyDrop: 0.000000 +lists_compaction.Sum.KeyIn: 0.000000 +lists_compaction.Sum.MovedGB: 0.000000 +lists_compaction.Sum.NumFiles: 1.000000 +lists_compaction.Sum.RblobGB: 0.000000 +lists_compaction.Sum.ReadGB: 0.000000 +lists_compaction.Sum.ReadMBps: 0.000000 +lists_compaction.Sum.RnGB: 0.000000 +lists_compaction.Sum.Rnp1GB: 0.000000 +lists_compaction.Sum.Score: 0.000000 +lists_compaction.Sum.SizeBytes: 842452.000000 +lists_compaction.Sum.WblobGB: 0.000000 +lists_compaction.Sum.WnewGB: 0.000785 +lists_compaction.Sum.WriteAmp: 1.000000 +lists_compaction.Sum.WriteGB: 0.000785 +lists_compaction.Sum.WriteMBps: 131.514951 +lists_l0-file-count-limit-delays: 0 +lists_l0-file-count-limit-stops: 0 +lists_memtable-limit-delays: 0 +lists_memtable-limit-stops: 0 +lists_pending-compaction-bytes-delays: 0 +lists_pending-compaction-bytes-stops: 0 +lists_total-delays: 0 +lists_total-stops: 0 +#sets_RocksDB +sets_num_immutable_mem_table:0 +sets_num_immutable_mem_table_flushed:0 +sets_mem_table_flush_pending:0 +sets_num_running_flushes:0 +sets_compaction_pending:0 +sets_num_running_compactions:0 +sets_background_errors:0 +sets_cur_size_active_mem_table:4096 +sets_cur_size_all_mem_tables:4096 +sets_size_all_mem_tables:4096 +sets_estimate_num_keys:3406554 +sets_estimate_table_readers_mem:11285316 +sets_num_snapshots:0 +sets_num_live_versions:2 +sets_current_super_version_number:15 +sets_estimate_live_data_size:759058158 +sets_total_sst_files_size:759058158 +sets_live_sst_files_size:759058158 +sets_estimate_pending_compaction_bytes:0 +sets_block_cache_capacity:4294967296 +sets_block_cache_usage:192 +sets_block_cache_pinned_usage:192 +sets_num_blob_files:0 +sets_blob_stats:22122264 +sets_total_blob_file_size:0 +sets_live_blob_file_size:0 +sets_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +sets_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +sets_compaction.L0.AvgSec: 0.002983 +sets_compaction.L0.CompCount: 1.000000 +sets_compaction.L0.CompMergeCPU: 0.002872 +sets_compaction.L0.CompSec: 0.002983 +sets_compaction.L0.CompactedFiles: 0.000000 +sets_compaction.L0.KeyDrop: 0.000000 +sets_compaction.L0.KeyIn: 0.000000 +sets_compaction.L0.MovedGB: 0.000000 +sets_compaction.L0.NumFiles: 1.000000 +sets_compaction.L0.RblobGB: 0.000000 +sets_compaction.L0.ReadGB: 0.000000 +sets_compaction.L0.ReadMBps: 0.000000 +sets_compaction.L0.RnGB: 0.000000 +sets_compaction.L0.Rnp1GB: 0.000000 +sets_compaction.L0.Score: 0.250000 +sets_compaction.L0.SizeBytes: 69453.000000 +sets_compaction.L0.WblobGB: 0.000000 +sets_compaction.L0.WnewGB: 0.000065 +sets_compaction.L0.WriteAmp: 1.000000 +sets_compaction.L0.WriteGB: 0.000065 +sets_compaction.L0.WriteMBps: 22.196898 +sets_compaction.Sum.AvgSec: 0.002983 +sets_compaction.Sum.CompCount: 1.000000 +sets_compaction.Sum.CompMergeCPU: 0.002872 +sets_compaction.Sum.CompSec: 0.002983 +sets_compaction.Sum.CompactedFiles: 0.000000 +sets_compaction.Sum.KeyDrop: 0.000000 +sets_compaction.Sum.KeyIn: 0.000000 +sets_compaction.Sum.MovedGB: 0.000000 +sets_compaction.Sum.NumFiles: 1.000000 +sets_compaction.Sum.RblobGB: 0.000000 +sets_compaction.Sum.ReadGB: 0.000000 +sets_compaction.Sum.ReadMBps: 0.000000 +sets_compaction.Sum.RnGB: 0.000000 +sets_compaction.Sum.Rnp1GB: 0.000000 +sets_compaction.Sum.Score: 0.000000 +sets_compaction.Sum.SizeBytes: 69453.000000 +sets_compaction.Sum.WblobGB: 0.000000 +sets_compaction.Sum.WnewGB: 0.000065 +sets_compaction.Sum.WriteAmp: 1.000000 +sets_compaction.Sum.WriteGB: 0.000065 +sets_compaction.Sum.WriteMBps: 22.196898 +sets_l0-file-count-limit-delays: 0 +sets_l0-file-count-limit-stops: 0 +sets_memtable-limit-delays: 0 +sets_memtable-limit-stops: 0 +sets_pending-compaction-bytes-delays: 0 +sets_pending-compaction-bytes-stops: 0 +sets_total-delays: 0 +sets_total-stops: 0 +#zsets_RocksDB +zsets_num_immutable_mem_table:0 +zsets_num_immutable_mem_table_flushed:0 +zsets_mem_table_flush_pending:0 +zsets_num_running_flushes:0 +zsets_compaction_pending:0 +zsets_num_running_compactions:0 +zsets_background_errors:0 +zsets_cur_size_active_mem_table:6144 +zsets_cur_size_all_mem_tables:6144 +zsets_size_all_mem_tables:6144 +zsets_estimate_num_keys:2011867 +zsets_estimate_table_readers_mem:3022221 +zsets_num_snapshots:0 +zsets_num_live_versions:3 +zsets_current_super_version_number:9 +zsets_estimate_live_data_size:48903360 +zsets_total_sst_files_size:48903360 +zsets_live_sst_files_size:48903360 +zsets_estimate_pending_compaction_bytes:0 +zsets_block_cache_capacity:6442450944 +zsets_block_cache_usage:288 +zsets_block_cache_pinned_usage:288 +zsets_num_blob_files:0 +zsets_blob_stats:140585469313112 +zsets_total_blob_file_size:0 +zsets_live_blob_file_size:0 +zsets_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +zsets_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +zsets_compaction.L0.AvgSec: 0.001080 +zsets_compaction.L0.CompCount: 1.000000 +zsets_compaction.L0.CompMergeCPU: 0.001001 +zsets_compaction.L0.CompSec: 0.001080 +zsets_compaction.L0.CompactedFiles: 0.000000 +zsets_compaction.L0.KeyDrop: 0.000000 +zsets_compaction.L0.KeyIn: 0.000000 +zsets_compaction.L0.MovedGB: 0.000000 +zsets_compaction.L0.NumFiles: 1.000000 +zsets_compaction.L0.RblobGB: 0.000000 +zsets_compaction.L0.ReadGB: 0.000000 +zsets_compaction.L0.ReadMBps: 0.000000 +zsets_compaction.L0.RnGB: 0.000000 +zsets_compaction.L0.Rnp1GB: 0.000000 +zsets_compaction.L0.Score: 0.250000 +zsets_compaction.L0.SizeBytes: 35608.000000 +zsets_compaction.L0.WblobGB: 0.000000 +zsets_compaction.L0.WnewGB: 0.000033 +zsets_compaction.L0.WriteAmp: 1.000000 +zsets_compaction.L0.WriteGB: 0.000033 +zsets_compaction.L0.WriteMBps: 31.413908 +zsets_compaction.Sum.AvgSec: 0.001080 +zsets_compaction.Sum.CompCount: 1.000000 +zsets_compaction.Sum.CompMergeCPU: 0.001001 +zsets_compaction.Sum.CompSec: 0.001080 +zsets_compaction.Sum.CompactedFiles: 0.000000 +zsets_compaction.Sum.KeyDrop: 0.000000 +zsets_compaction.Sum.KeyIn: 0.000000 +zsets_compaction.Sum.MovedGB: 0.000000 +zsets_compaction.Sum.NumFiles: 1.000000 +zsets_compaction.Sum.RblobGB: 0.000000 +zsets_compaction.Sum.ReadGB: 0.000000 +zsets_compaction.Sum.ReadMBps: 0.000000 +zsets_compaction.Sum.RnGB: 0.000000 +zsets_compaction.Sum.Rnp1GB: 0.000000 +zsets_compaction.Sum.Score: 0.000000 +zsets_compaction.Sum.SizeBytes: 35608.000000 +zsets_compaction.Sum.WblobGB: 0.000000 +zsets_compaction.Sum.WnewGB: 0.000033 +zsets_compaction.Sum.WriteAmp: 1.000000 +zsets_compaction.Sum.WriteGB: 0.000033 +zsets_compaction.Sum.WriteMBps: 31.413908 +zsets_l0-file-count-limit-delays: 0 +zsets_l0-file-count-limit-stops: 0 +zsets_memtable-limit-delays: 0 +zsets_memtable-limit-stops: 0 +zsets_pending-compaction-bytes-delays: 0 +zsets_pending-compaction-bytes-stops: 0 +zsets_total-delays: 0 +zsets_total-stops: 0 +` diff --git a/tools/pika_exporter/exporter/test/v3.5.5_slave.go b/tools/pika_exporter/exporter/test/v3.5.5_slave.go new file mode 100644 index 0000000000..d5530946fc --- /dev/null +++ b/tools/pika_exporter/exporter/test/v3.5.5_slave.go @@ -0,0 +1,579 @@ +package test + +var V355SlaveInfo = `# Server +pika_version:3.5.5 +pika_git_sha:29a7629bc97c237531f12689b92cb59ee73bdef7 +pika_build_compile_date: 2025-07-30 10:25:07 +os:Linux 4.19.91-27.2.an8.x86_64 x86_64 +arch_bits:64 +process_id:275922 +tcp_port:5436 +thread_num:4 +sync_thread_num:12 +sync_binlog_thread_num:1 +uptime_in_seconds:9172404 +uptime_in_days:107 +config_file:/data1/pika5436/pika5436.conf +server_id:1 +run_id:a9af427fc92e4157aad5882e9994bfc7cecd1b84 + +# Data +db_size:22764188213 +db_size_human:21709M +log_size:46657816 +log_size_human:44M +compression:snappy +used_memory:50745234 +used_memory_human:48M +db_memtable_usage:33579008 +db_tablereader_usage:17166226 +db_fatal:0 +db_fatal_msg:nullptr + +# Clients +connected_clients:1 + +# Stats +total_connections_received:27 +instantaneous_ops_per_sec:0 +total_commands_processed:1233 +total_net_input_bytes:22795269059 +total_net_output_bytes:279570645 +total_net_repl_input_bytes:22795054435 +total_net_repl_output_bytes:274459504 +instantaneous_input_kbps:0.0917969 +instantaneous_output_kbps:0.369141 +instantaneous_input_repl_kbps:0.0849609 +instantaneous_output_repl_kbps:0.140625 +is_bgsaving:No +is_scaning_keyspace:No +is_compact:No +compact_cron: +compact_interval: +is_slots_reloading:No, , 0 +is_slots_cleaningup:No, , 0 +is_slots_migrating:No, , 0 +slow_logs_count:0 + +# Command_Exec_Count +SET:193040 +INFO:3383 +SLAVEOF:1 +AUTH:2877 +MONITOR:11 +SCAN:15 +CONFIG:107 + +# Commandstats +slaveof:calls=1, usec=0.75, usec_per_call=0.75 +info:calls=3382, usec=596.86, usec_per_call=0.18 +monitor:calls=11, usec=0.20, usec_per_call=0.02 +auth:calls=2877, usec=104.36, usec_per_call=0.04 +scan:calls=15, usec=2.96, usec_per_call=0.20 +config:calls=107, usec=1.14, usec_per_call=0.01 + +# Cache +cache_status:Ok +cache_db_num:8 +cache_keys:0 +cache_memory:39232 +cache_memory_human:0M +hits:0 +all_cmds:0 +hits_per_sec:0 +read_cmd_per_sec:0 +hitratio_per_sec:0% +hitratio_all:0% +load_keys_per_sec:0 +waitting_load_keys_num:0 + +# CPU +used_cpu_sys:1115.15 +used_cpu_user:724.95 +used_cpu_sys_children:0.00 +used_cpu_user_children:0.00 + +# Replication(SLAVE) +role:slave +ReplicationID:40174f033ff85653ac7fd3ec4d9de8f33c2e21e95bd1262970 +master_host:10.243.48.117 +master_port:5436 +master_link_status:up +repl_connect_status: +db0:connected +slave_priority:100 +slave_read_only:1 +is_eligible_for_master_election:true +db0:binlog_offset=368 42825224,safety_purge=write2file358 +slave_repl_offset:38630422024 + +# Keyspace +# Start async statistics +# Time:0 +db0 Strings_keys=0, expires=0, invalid_keys=0 +db0 Hashes_keys=0, expires=0, invalid_keys=0 +db0 Lists_keys=0, expires=0, invalid_keys=0 +db0 Zsets_keys=0, expires=0, invalid_keys=0 +db0 Sets_keys=0, expires=0, invalid_keys=0 + + +# RocksDB +#strings_RocksDB +strings_num_immutable_mem_table:0 +strings_num_immutable_mem_table_flushed:0 +strings_mem_table_flush_pending:0 +strings_num_running_flushes:0 +strings_compaction_pending:0 +strings_num_running_compactions:0 +strings_background_errors:0 +strings_cur_size_active_mem_table:33556480 +strings_cur_size_all_mem_tables:33556480 +strings_size_all_mem_tables:33556480 +strings_estimate_num_keys:16150427 +strings_estimate_table_readers_mem:1030282 +strings_num_snapshots:0 +strings_num_live_versions:1 +strings_current_super_version_number:1 +strings_estimate_live_data_size:21510423320 +strings_total_sst_files_size:21673347794 +strings_live_sst_files_size:21673347794 +strings_estimate_pending_compaction_bytes:0 +strings_block_cache_capacity:2147483648 +strings_block_cache_usage:96 +strings_block_cache_pinned_usage:96 +strings_num_blob_files:0 +strings_blob_stats:1 +strings_total_blob_file_size:0 +strings_live_blob_file_size:0 +strings_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +strings_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +strings_compaction.L0.AvgSec: 0.000000 +strings_compaction.L0.CompCount: 0.000000 +strings_compaction.L0.CompMergeCPU: 0.000000 +strings_compaction.L0.CompSec: 0.000000 +strings_compaction.L0.CompactedFiles: 0.000000 +strings_compaction.L0.KeyDrop: 0.000000 +strings_compaction.L0.KeyIn: 0.000000 +strings_compaction.L0.MovedGB: 0.000000 +strings_compaction.L0.NumFiles: 1.000000 +strings_compaction.L0.RblobGB: 0.000000 +strings_compaction.L0.ReadGB: 0.000000 +strings_compaction.L0.ReadMBps: 0.000000 +strings_compaction.L0.RnGB: 0.000000 +strings_compaction.L0.Rnp1GB: 0.000000 +strings_compaction.L0.Score: 0.250000 +strings_compaction.L0.SizeBytes: 1291.000000 +strings_compaction.L0.WblobGB: 0.000000 +strings_compaction.L0.WnewGB: 0.000000 +strings_compaction.L0.WriteAmp: 0.000000 +strings_compaction.L0.WriteGB: 0.000000 +strings_compaction.L0.WriteMBps: 0.000000 +strings_compaction.L4.AvgSec: 0.000000 +strings_compaction.L4.CompCount: 0.000000 +strings_compaction.L4.CompMergeCPU: 0.000000 +strings_compaction.L4.CompSec: 0.000000 +strings_compaction.L4.CompactedFiles: 0.000000 +strings_compaction.L4.KeyDrop: 0.000000 +strings_compaction.L4.KeyIn: 0.000000 +strings_compaction.L4.MovedGB: 0.000000 +strings_compaction.L4.NumFiles: 14.000000 +strings_compaction.L4.RblobGB: 0.000000 +strings_compaction.L4.ReadGB: 0.000000 +strings_compaction.L4.ReadMBps: 0.000000 +strings_compaction.L4.RnGB: 0.000000 +strings_compaction.L4.Rnp1GB: 0.000000 +strings_compaction.L4.Score: 0.927166 +strings_compaction.L4.SizeBytes: 248884307.000000 +strings_compaction.L4.WblobGB: 0.000000 +strings_compaction.L4.WnewGB: 0.000000 +strings_compaction.L4.WriteAmp: 0.000000 +strings_compaction.L4.WriteGB: 0.000000 +strings_compaction.L4.WriteMBps: 0.000000 +strings_compaction.L5.AvgSec: 0.000000 +strings_compaction.L5.CompCount: 0.000000 +strings_compaction.L5.CompMergeCPU: 0.000000 +strings_compaction.L5.CompSec: 0.000000 +strings_compaction.L5.CompactedFiles: 0.000000 +strings_compaction.L5.KeyDrop: 0.000000 +strings_compaction.L5.KeyIn: 0.000000 +strings_compaction.L5.MovedGB: 0.000000 +strings_compaction.L5.NumFiles: 89.000000 +strings_compaction.L5.RblobGB: 0.000000 +strings_compaction.L5.ReadGB: 0.000000 +strings_compaction.L5.ReadMBps: 0.000000 +strings_compaction.L5.RnGB: 0.000000 +strings_compaction.L5.Rnp1GB: 0.000000 +strings_compaction.L5.Score: 0.989415 +strings_compaction.L5.SizeBytes: 1928919001.000000 +strings_compaction.L5.WblobGB: 0.000000 +strings_compaction.L5.WnewGB: 0.000000 +strings_compaction.L5.WriteAmp: 0.000000 +strings_compaction.L5.WriteGB: 0.000000 +strings_compaction.L5.WriteMBps: 0.000000 +strings_compaction.L6.AvgSec: 0.000000 +strings_compaction.L6.CompCount: 0.000000 +strings_compaction.L6.CompMergeCPU: 0.000000 +strings_compaction.L6.CompSec: 0.000000 +strings_compaction.L6.CompactedFiles: 0.000000 +strings_compaction.L6.KeyDrop: 0.000000 +strings_compaction.L6.KeyIn: 0.000000 +strings_compaction.L6.MovedGB: 0.000000 +strings_compaction.L6.NumFiles: 877.000000 +strings_compaction.L6.RblobGB: 0.000000 +strings_compaction.L6.ReadGB: 0.000000 +strings_compaction.L6.ReadMBps: 0.000000 +strings_compaction.L6.RnGB: 0.000000 +strings_compaction.L6.Rnp1GB: 0.000000 +strings_compaction.L6.Score: 0.000000 +strings_compaction.L6.SizeBytes: 19495543195.000000 +strings_compaction.L6.WblobGB: 0.000000 +strings_compaction.L6.WnewGB: 0.000000 +strings_compaction.L6.WriteAmp: 0.000000 +strings_compaction.L6.WriteGB: 0.000000 +strings_compaction.L6.WriteMBps: 0.000000 +strings_compaction.Sum.AvgSec: 0.000000 +strings_compaction.Sum.CompCount: 0.000000 +strings_compaction.Sum.CompMergeCPU: 0.000000 +strings_compaction.Sum.CompSec: 0.000000 +strings_compaction.Sum.CompactedFiles: 0.000000 +strings_compaction.Sum.KeyDrop: 0.000000 +strings_compaction.Sum.KeyIn: 0.000000 +strings_compaction.Sum.MovedGB: 0.000000 +strings_compaction.Sum.NumFiles: 981.000000 +strings_compaction.Sum.RblobGB: 0.000000 +strings_compaction.Sum.ReadGB: 0.000000 +strings_compaction.Sum.ReadMBps: 0.000000 +strings_compaction.Sum.RnGB: 0.000000 +strings_compaction.Sum.Rnp1GB: 0.000000 +strings_compaction.Sum.Score: 0.000000 +strings_compaction.Sum.SizeBytes: 21673347794.000000 +strings_compaction.Sum.WblobGB: 0.000000 +strings_compaction.Sum.WnewGB: 0.000000 +strings_compaction.Sum.WriteAmp: 0.000000 +strings_compaction.Sum.WriteGB: 0.000000 +strings_compaction.Sum.WriteMBps: 0.000000 +strings_l0-file-count-limit-delays: 0 +strings_l0-file-count-limit-stops: 0 +strings_memtable-limit-delays: 0 +strings_memtable-limit-stops: 0 +strings_pending-compaction-bytes-delays: 0 +strings_pending-compaction-bytes-stops: 0 +strings_total-delays: 0 +strings_total-stops: 0 +#hashes_RocksDB +hashes_num_immutable_mem_table:0 +hashes_num_immutable_mem_table_flushed:0 +hashes_mem_table_flush_pending:0 +hashes_num_running_flushes:0 +hashes_compaction_pending:0 +hashes_num_running_compactions:0 +hashes_background_errors:0 +hashes_cur_size_active_mem_table:4096 +hashes_cur_size_all_mem_tables:4096 +hashes_size_all_mem_tables:4096 +hashes_estimate_num_keys:307528 +hashes_estimate_table_readers_mem:552728 +hashes_num_snapshots:0 +hashes_num_live_versions:2 +hashes_current_super_version_number:2 +hashes_estimate_live_data_size:14394569 +hashes_total_sst_files_size:14394569 +hashes_live_sst_files_size:14394569 +hashes_estimate_pending_compaction_bytes:0 +hashes_block_cache_capacity:4294967296 +hashes_block_cache_usage:192 +hashes_block_cache_pinned_usage:192 +hashes_num_blob_files:0 +hashes_blob_stats:22122264 +hashes_total_blob_file_size:0 +hashes_live_blob_file_size:0 +hashes_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +hashes_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +hashes_compaction.L0.AvgSec: 0.000000 +hashes_compaction.L0.CompCount: 0.000000 +hashes_compaction.L0.CompMergeCPU: 0.000000 +hashes_compaction.L0.CompSec: 0.000000 +hashes_compaction.L0.CompactedFiles: 0.000000 +hashes_compaction.L0.KeyDrop: 0.000000 +hashes_compaction.L0.KeyIn: 0.000000 +hashes_compaction.L0.MovedGB: 0.000000 +hashes_compaction.L0.NumFiles: 1.000000 +hashes_compaction.L0.RblobGB: 0.000000 +hashes_compaction.L0.ReadGB: 0.000000 +hashes_compaction.L0.ReadMBps: 0.000000 +hashes_compaction.L0.RnGB: 0.000000 +hashes_compaction.L0.Rnp1GB: 0.000000 +hashes_compaction.L0.Score: 0.250000 +hashes_compaction.L0.SizeBytes: 3467349.000000 +hashes_compaction.L0.WblobGB: 0.000000 +hashes_compaction.L0.WnewGB: 0.000000 +hashes_compaction.L0.WriteAmp: 0.000000 +hashes_compaction.L0.WriteGB: 0.000000 +hashes_compaction.L0.WriteMBps: 0.000000 +hashes_compaction.Sum.AvgSec: 0.000000 +hashes_compaction.Sum.CompCount: 0.000000 +hashes_compaction.Sum.CompMergeCPU: 0.000000 +hashes_compaction.Sum.CompSec: 0.000000 +hashes_compaction.Sum.CompactedFiles: 0.000000 +hashes_compaction.Sum.KeyDrop: 0.000000 +hashes_compaction.Sum.KeyIn: 0.000000 +hashes_compaction.Sum.MovedGB: 0.000000 +hashes_compaction.Sum.NumFiles: 1.000000 +hashes_compaction.Sum.RblobGB: 0.000000 +hashes_compaction.Sum.ReadGB: 0.000000 +hashes_compaction.Sum.ReadMBps: 0.000000 +hashes_compaction.Sum.RnGB: 0.000000 +hashes_compaction.Sum.Rnp1GB: 0.000000 +hashes_compaction.Sum.Score: 0.000000 +hashes_compaction.Sum.SizeBytes: 3467349.000000 +hashes_compaction.Sum.WblobGB: 0.000000 +hashes_compaction.Sum.WnewGB: 0.000000 +hashes_compaction.Sum.WriteAmp: 0.000000 +hashes_compaction.Sum.WriteGB: 0.000000 +hashes_compaction.Sum.WriteMBps: 0.000000 +hashes_l0-file-count-limit-delays: 0 +hashes_l0-file-count-limit-stops: 0 +hashes_memtable-limit-delays: 0 +hashes_memtable-limit-stops: 0 +hashes_pending-compaction-bytes-delays: 0 +hashes_pending-compaction-bytes-stops: 0 +hashes_total-delays: 0 +hashes_total-stops: 0 +#lists_RocksDB +lists_num_immutable_mem_table:0 +lists_num_immutable_mem_table_flushed:0 +lists_mem_table_flush_pending:0 +lists_num_running_flushes:0 +lists_compaction_pending:0 +lists_num_running_compactions:0 +lists_background_errors:0 +lists_cur_size_active_mem_table:4096 +lists_cur_size_all_mem_tables:4096 +lists_size_all_mem_tables:4096 +lists_estimate_num_keys:165482 +lists_estimate_table_readers_mem:1275679 +lists_num_snapshots:0 +lists_num_live_versions:2 +lists_current_super_version_number:2 +lists_estimate_live_data_size:123538200 +lists_total_sst_files_size:123538200 +lists_live_sst_files_size:123538200 +lists_estimate_pending_compaction_bytes:0 +lists_block_cache_capacity:4294967296 +lists_block_cache_usage:192 +lists_block_cache_pinned_usage:192 +lists_num_blob_files:0 +lists_blob_stats:22122264 +lists_total_blob_file_size:0 +lists_live_blob_file_size:0 +lists_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +lists_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +lists_compaction.L0.AvgSec: 0.000000 +lists_compaction.L0.CompCount: 0.000000 +lists_compaction.L0.CompMergeCPU: 0.000000 +lists_compaction.L0.CompSec: 0.000000 +lists_compaction.L0.CompactedFiles: 0.000000 +lists_compaction.L0.KeyDrop: 0.000000 +lists_compaction.L0.KeyIn: 0.000000 +lists_compaction.L0.MovedGB: 0.000000 +lists_compaction.L0.NumFiles: 1.000000 +lists_compaction.L0.RblobGB: 0.000000 +lists_compaction.L0.ReadGB: 0.000000 +lists_compaction.L0.ReadMBps: 0.000000 +lists_compaction.L0.RnGB: 0.000000 +lists_compaction.L0.Rnp1GB: 0.000000 +lists_compaction.L0.Score: 0.250000 +lists_compaction.L0.SizeBytes: 842452.000000 +lists_compaction.L0.WblobGB: 0.000000 +lists_compaction.L0.WnewGB: 0.000000 +lists_compaction.L0.WriteAmp: 0.000000 +lists_compaction.L0.WriteGB: 0.000000 +lists_compaction.L0.WriteMBps: 0.000000 +lists_compaction.Sum.AvgSec: 0.000000 +lists_compaction.Sum.CompCount: 0.000000 +lists_compaction.Sum.CompMergeCPU: 0.000000 +lists_compaction.Sum.CompSec: 0.000000 +lists_compaction.Sum.CompactedFiles: 0.000000 +lists_compaction.Sum.KeyDrop: 0.000000 +lists_compaction.Sum.KeyIn: 0.000000 +lists_compaction.Sum.MovedGB: 0.000000 +lists_compaction.Sum.NumFiles: 1.000000 +lists_compaction.Sum.RblobGB: 0.000000 +lists_compaction.Sum.ReadGB: 0.000000 +lists_compaction.Sum.ReadMBps: 0.000000 +lists_compaction.Sum.RnGB: 0.000000 +lists_compaction.Sum.Rnp1GB: 0.000000 +lists_compaction.Sum.Score: 0.000000 +lists_compaction.Sum.SizeBytes: 842452.000000 +lists_compaction.Sum.WblobGB: 0.000000 +lists_compaction.Sum.WnewGB: 0.000000 +lists_compaction.Sum.WriteAmp: 0.000000 +lists_compaction.Sum.WriteGB: 0.000000 +lists_compaction.Sum.WriteMBps: 0.000000 +lists_l0-file-count-limit-delays: 0 +lists_l0-file-count-limit-stops: 0 +lists_memtable-limit-delays: 0 +lists_memtable-limit-stops: 0 +lists_pending-compaction-bytes-delays: 0 +lists_pending-compaction-bytes-stops: 0 +lists_total-delays: 0 +lists_total-stops: 0 +#sets_RocksDB +sets_num_immutable_mem_table:0 +sets_num_immutable_mem_table_flushed:0 +sets_mem_table_flush_pending:0 +sets_num_running_flushes:0 +sets_compaction_pending:0 +sets_num_running_compactions:0 +sets_background_errors:0 +sets_cur_size_active_mem_table:4096 +sets_cur_size_all_mem_tables:4096 +sets_size_all_mem_tables:4096 +sets_estimate_num_keys:3406554 +sets_estimate_table_readers_mem:11285316 +sets_num_snapshots:0 +sets_num_live_versions:2 +sets_current_super_version_number:2 +sets_estimate_live_data_size:759058158 +sets_total_sst_files_size:759058158 +sets_live_sst_files_size:759058158 +sets_estimate_pending_compaction_bytes:0 +sets_block_cache_capacity:4294967296 +sets_block_cache_usage:192 +sets_block_cache_pinned_usage:192 +sets_num_blob_files:0 +sets_blob_stats:22122264 +sets_total_blob_file_size:0 +sets_live_blob_file_size:0 +sets_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +sets_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +sets_compaction.L0.AvgSec: 0.000000 +sets_compaction.L0.CompCount: 0.000000 +sets_compaction.L0.CompMergeCPU: 0.000000 +sets_compaction.L0.CompSec: 0.000000 +sets_compaction.L0.CompactedFiles: 0.000000 +sets_compaction.L0.KeyDrop: 0.000000 +sets_compaction.L0.KeyIn: 0.000000 +sets_compaction.L0.MovedGB: 0.000000 +sets_compaction.L0.NumFiles: 1.000000 +sets_compaction.L0.RblobGB: 0.000000 +sets_compaction.L0.ReadGB: 0.000000 +sets_compaction.L0.ReadMBps: 0.000000 +sets_compaction.L0.RnGB: 0.000000 +sets_compaction.L0.Rnp1GB: 0.000000 +sets_compaction.L0.Score: 0.250000 +sets_compaction.L0.SizeBytes: 69453.000000 +sets_compaction.L0.WblobGB: 0.000000 +sets_compaction.L0.WnewGB: 0.000000 +sets_compaction.L0.WriteAmp: 0.000000 +sets_compaction.L0.WriteGB: 0.000000 +sets_compaction.L0.WriteMBps: 0.000000 +sets_compaction.Sum.AvgSec: 0.000000 +sets_compaction.Sum.CompCount: 0.000000 +sets_compaction.Sum.CompMergeCPU: 0.000000 +sets_compaction.Sum.CompSec: 0.000000 +sets_compaction.Sum.CompactedFiles: 0.000000 +sets_compaction.Sum.KeyDrop: 0.000000 +sets_compaction.Sum.KeyIn: 0.000000 +sets_compaction.Sum.MovedGB: 0.000000 +sets_compaction.Sum.NumFiles: 1.000000 +sets_compaction.Sum.RblobGB: 0.000000 +sets_compaction.Sum.ReadGB: 0.000000 +sets_compaction.Sum.ReadMBps: 0.000000 +sets_compaction.Sum.RnGB: 0.000000 +sets_compaction.Sum.Rnp1GB: 0.000000 +sets_compaction.Sum.Score: 0.000000 +sets_compaction.Sum.SizeBytes: 69453.000000 +sets_compaction.Sum.WblobGB: 0.000000 +sets_compaction.Sum.WnewGB: 0.000000 +sets_compaction.Sum.WriteAmp: 0.000000 +sets_compaction.Sum.WriteGB: 0.000000 +sets_compaction.Sum.WriteMBps: 0.000000 +sets_l0-file-count-limit-delays: 0 +sets_l0-file-count-limit-stops: 0 +sets_memtable-limit-delays: 0 +sets_memtable-limit-stops: 0 +sets_pending-compaction-bytes-delays: 0 +sets_pending-compaction-bytes-stops: 0 +sets_total-delays: 0 +sets_total-stops: 0 +#zsets_RocksDB +zsets_num_immutable_mem_table:0 +zsets_num_immutable_mem_table_flushed:0 +zsets_mem_table_flush_pending:0 +zsets_num_running_flushes:0 +zsets_compaction_pending:0 +zsets_num_running_compactions:0 +zsets_background_errors:0 +zsets_cur_size_active_mem_table:6144 +zsets_cur_size_all_mem_tables:6144 +zsets_size_all_mem_tables:6144 +zsets_estimate_num_keys:2011867 +zsets_estimate_table_readers_mem:3022221 +zsets_num_snapshots:0 +zsets_num_live_versions:3 +zsets_current_super_version_number:3 +zsets_estimate_live_data_size:48903360 +zsets_total_sst_files_size:48903360 +zsets_live_sst_files_size:48903360 +zsets_estimate_pending_compaction_bytes:0 +zsets_block_cache_capacity:6442450944 +zsets_block_cache_usage:288 +zsets_block_cache_pinned_usage:288 +zsets_num_blob_files:0 +zsets_blob_stats:140082180096088 +zsets_total_blob_file_size:0 +zsets_live_blob_file_size:0 +zsets_cf-l0-file-count-limit-delays-with-ongoing-compaction: 0 +zsets_cf-l0-file-count-limit-stops-with-ongoing-compaction: 0 +zsets_compaction.L0.AvgSec: 0.000000 +zsets_compaction.L0.CompCount: 0.000000 +zsets_compaction.L0.CompMergeCPU: 0.000000 +zsets_compaction.L0.CompSec: 0.000000 +zsets_compaction.L0.CompactedFiles: 0.000000 +zsets_compaction.L0.KeyDrop: 0.000000 +zsets_compaction.L0.KeyIn: 0.000000 +zsets_compaction.L0.MovedGB: 0.000000 +zsets_compaction.L0.NumFiles: 1.000000 +zsets_compaction.L0.RblobGB: 0.000000 +zsets_compaction.L0.ReadGB: 0.000000 +zsets_compaction.L0.ReadMBps: 0.000000 +zsets_compaction.L0.RnGB: 0.000000 +zsets_compaction.L0.Rnp1GB: 0.000000 +zsets_compaction.L0.Score: 0.250000 +zsets_compaction.L0.SizeBytes: 35608.000000 +zsets_compaction.L0.WblobGB: 0.000000 +zsets_compaction.L0.WnewGB: 0.000000 +zsets_compaction.L0.WriteAmp: 0.000000 +zsets_compaction.L0.WriteGB: 0.000000 +zsets_compaction.L0.WriteMBps: 0.000000 +zsets_compaction.Sum.AvgSec: 0.000000 +zsets_compaction.Sum.CompCount: 0.000000 +zsets_compaction.Sum.CompMergeCPU: 0.000000 +zsets_compaction.Sum.CompSec: 0.000000 +zsets_compaction.Sum.CompactedFiles: 0.000000 +zsets_compaction.Sum.KeyDrop: 0.000000 +zsets_compaction.Sum.KeyIn: 0.000000 +zsets_compaction.Sum.MovedGB: 0.000000 +zsets_compaction.Sum.NumFiles: 1.000000 +zsets_compaction.Sum.RblobGB: 0.000000 +zsets_compaction.Sum.ReadGB: 0.000000 +zsets_compaction.Sum.ReadMBps: 0.000000 +zsets_compaction.Sum.RnGB: 0.000000 +zsets_compaction.Sum.Rnp1GB: 0.000000 +zsets_compaction.Sum.Score: 0.000000 +zsets_compaction.Sum.SizeBytes: 35608.000000 +zsets_compaction.Sum.WblobGB: 0.000000 +zsets_compaction.Sum.WnewGB: 0.000000 +zsets_compaction.Sum.WriteAmp: 0.000000 +zsets_compaction.Sum.WriteGB: 0.000000 +zsets_compaction.Sum.WriteMBps: 0.000000 +zsets_l0-file-count-limit-delays: 0 +zsets_l0-file-count-limit-stops: 0 +zsets_memtable-limit-delays: 0 +zsets_memtable-limit-stops: 0 +zsets_pending-compaction-bytes-delays: 0 +zsets_pending-compaction-bytes-stops: 0 +zsets_total-delays: 0 +zsets_total-stops: 0 +` diff --git a/tools/pika_exporter/go.mod b/tools/pika_exporter/go.mod index f46edd1e52..ee63b7364c 100644 --- a/tools/pika_exporter/go.mod +++ b/tools/pika_exporter/go.mod @@ -4,26 +4,20 @@ go 1.19 require ( github.com/Masterminds/semver v1.5.0 - github.com/garyburd/redigo v1.6.4 - github.com/prometheus/client_golang v1.15.0 + github.com/gomodule/redigo v1.8.9 + github.com/pelletier/go-toml v1.9.5 + github.com/prometheus/client_golang v1.14.0 github.com/sirupsen/logrus v1.9.0 - github.com/stretchr/testify v1.8.4 ) require ( github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect - github.com/pelletier/go-toml v1.9.5 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/cespare/xxhash/v2 v2.1.2 // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.42.0 // indirect - github.com/prometheus/procfs v0.9.0 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect - golang.org/x/sys v0.10.0 // indirect - google.golang.org/protobuf v1.30.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + github.com/prometheus/common v0.37.0 // indirect + github.com/prometheus/procfs v0.8.0 // indirect + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect + google.golang.org/protobuf v1.28.1 // indirect ) diff --git a/tools/pika_exporter/go.sum b/tools/pika_exporter/go.sum deleted file mode 100644 index 8ee8c47077..0000000000 --- a/tools/pika_exporter/go.sum +++ /dev/null @@ -1,66 +0,0 @@ -github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/garyburd/redigo v1.6.4 h1:LFu2R3+ZOPgSMWMOL+saa/zXRjw0ID2G8FepO53BGlg= -github.com/garyburd/redigo v1.6.4/go.mod h1:rTb6epsqigu3kYKBnaF028A7Tf/Aw5s0cqA47doKKqw= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= -github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.15.0 h1:5fCgGYogn0hFdhyhLbw7hEsWxufKtY9klyvdNfFlFhM= -github.com/prometheus/client_golang v1.15.0/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= -github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= -github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI= -github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= -github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/tools/pika_exporter/grafana/grafana_prometheus_pika_dashboard..json b/tools/pika_exporter/grafana/grafana_prometheus_pika_dashboard..json index a491aecd7d..f7e15f2549 100644 --- a/tools/pika_exporter/grafana/grafana_prometheus_pika_dashboard..json +++ b/tools/pika_exporter/grafana/grafana_prometheus_pika_dashboard..json @@ -1,47 +1,4 @@ { - "__inputs": [ - { - "name": "DS_MIXFICSOL", - "label": "Mixficsol", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.0.1" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "table-old", - "name": "Table (old)", - "version": "" - } - ], "annotations": { "list": [ { @@ -60,13 +17,13 @@ }, "editable": true, "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, + "graphTooltip": 2, + "id": 2, "links": [], "liveNow": false, "panels": [ { - "collapsed": true, + "collapsed": false, "datasource": { "type": "prometheus", "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" @@ -78,480 +35,87 @@ "y": 0 }, "id": 12, - "panels": [ + "panels": [], + "targets": [ { - "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 8, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "styles": [ - { - "$$hashKey": "object:2105", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "$$hashKey": "object:2106", - "alias": "pika server addr", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "addr", - "preserveFormat": false, - "sanitize": false, - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:2107", - "alias": "pika server alias", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "alias", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:2108", - "alias": "arch bits", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "arch_bits", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:2109", - "alias": "collect instance", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "instance", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:2110", - "alias": "os", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "os", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:2111", - "alias": "pika version", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "pika_version", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:2112", - "alias": "pika git sha", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "pika_git_sha", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:2113", - "alias": "pika build date", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "pika_build_compile_date", - "thresholds": [], - "type": "date", - "unit": "short" - }, - { - "$$hashKey": "object:2114", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } + "refId": "A" + } + ], + "title": "Overview", + "type": "row" + }, + { + "columns": [], + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fontSize": "100%", + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 8, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false + }, + "styles": [ + { + "$$hashKey": "object:2105", + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:2106", + "alias": "pika server addr", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "expr": "pika_build_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\"}", - "format": "table", - "instant": true, - "intervalFactor": 1, - "refId": "A" - } + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "addr", + "preserveFormat": false, + "sanitize": false, + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:2107", + "alias": "pika server alias", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" ], - "title": "Pika Build Info List", - "transform": "table", - "type": "table-old" + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "alias", + "thresholds": [], + "type": "string", + "unit": "short" }, { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 10, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:5131", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "$$hashKey": "object:5132", - "alias": "addr", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "addr", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:5133", - "alias": "alias", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "alias", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:5134", - "alias": "config file", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "config_file", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5135", - "alias": "collect instance", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "instance", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5136", - "alias": "process id", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "process_id", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5137", - "alias": "role", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "role", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5138", - "alias": "server id", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "server_id", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5139", - "alias": "tcp port", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "tcp_port", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:5140", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\"}", - "format": "table", - "instant": true, - "intervalFactor": 2, - "refId": "A" - } - ], - "title": "Pika Server Info List", - "transform": "table", - "type": "table-old" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "refId": "A" - } - ], - "title": "Overview", - "type": "row" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 14, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "refId": "A" - } - ], - "title": "Base Info", - "type": "row" - }, - { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 32, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "pika server addr", + "$$hashKey": "object:2108", + "alias": "arch bits", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -561,15 +125,14 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, - "pattern": "addr", - "preserveFormat": false, - "sanitize": false, + "pattern": "arch_bits", "thresholds": [], - "type": "string", + "type": "number", "unit": "short" }, { - "alias": "pika server alias", + "$$hashKey": "object:2109", + "alias": "collect instance", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -579,13 +142,14 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, - "pattern": "alias", + "pattern": "instance", "thresholds": [], "type": "string", "unit": "short" }, { - "alias": "arch bits", + "$$hashKey": "object:2110", + "alias": "os", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -595,13 +159,14 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, - "pattern": "arch_bits", + "pattern": "os", "thresholds": [], - "type": "number", + "type": "string", "unit": "short" }, { - "alias": "collect instance", + "$$hashKey": "object:2111", + "alias": "pika version", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -611,13 +176,14 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, - "pattern": "instance", + "pattern": "pika_version", "thresholds": [], - "type": "string", + "type": "number", "unit": "short" }, { - "alias": "os", + "$$hashKey": "object:2112", + "alias": "pika git sha", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -627,45 +193,14 @@ "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, - "pattern": "os", + "pattern": "pika_git_sha", "thresholds": [], - "type": "string", + "type": "number", "unit": "short" }, { - "alias": "pika version", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "pika_version", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "pika git sha", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "pika_git_sha", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "alias": "pika build date", + "$$hashKey": "object:2113", + "alias": "pika build date", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", @@ -681,6 +216,7 @@ "unit": "short" }, { + "$$hashKey": "object:2114", "alias": "", "align": "auto", "colors": [ @@ -701,17 +237,16 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_build_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_build_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\"}", "format": "table", "instant": true, "intervalFactor": 1, "refId": "A" } ], - "title": "Build Info", + "title": "Pika Build Info List", "transform": "table", "type": "table-old" }, @@ -719,17 +254,16 @@ "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "fontSize": "100%", "gridPos": { "h": 3, "w": 24, "x": 0, - "y": 5 + "y": 4 }, - "id": 31, - "links": [], + "id": 10, "scroll": true, "showHeader": true, "sort": { @@ -738,7 +272,7 @@ }, "styles": [ { - "$$hashKey": "object:689", + "$$hashKey": "object:5131", "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", @@ -746,7 +280,7 @@ "type": "date" }, { - "$$hashKey": "object:690", + "$$hashKey": "object:5132", "alias": "addr", "align": "auto", "colors": [ @@ -763,7 +297,7 @@ "unit": "short" }, { - "$$hashKey": "object:691", + "$$hashKey": "object:5133", "alias": "alias", "align": "auto", "colors": [ @@ -780,7 +314,7 @@ "unit": "short" }, { - "$$hashKey": "object:692", + "$$hashKey": "object:5134", "alias": "config file", "align": "auto", "colors": [ @@ -797,7 +331,7 @@ "unit": "short" }, { - "$$hashKey": "object:693", + "$$hashKey": "object:5135", "alias": "collect instance", "align": "auto", "colors": [ @@ -814,7 +348,7 @@ "unit": "short" }, { - "$$hashKey": "object:694", + "$$hashKey": "object:5136", "alias": "process id", "align": "auto", "colors": [ @@ -831,7 +365,7 @@ "unit": "short" }, { - "$$hashKey": "object:695", + "$$hashKey": "object:5137", "alias": "role", "align": "auto", "colors": [ @@ -848,7 +382,7 @@ "unit": "short" }, { - "$$hashKey": "object:696", + "$$hashKey": "object:5138", "alias": "server id", "align": "auto", "colors": [ @@ -865,7 +399,7 @@ "unit": "short" }, { - "$$hashKey": "object:697", + "$$hashKey": "object:5139", "alias": "tcp port", "align": "auto", "colors": [ @@ -882,24 +416,7 @@ "unit": "short" }, { - "$$hashKey": "object:853", - "alias": "run_id", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "run_id", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:698", + "$$hashKey": "object:5140", "alias": "", "align": "auto", "colors": [ @@ -918,363 +435,481 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "editorMode": "code", + "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\"}", "format": "table", "instant": true, "intervalFactor": 2, "refId": "A" } ], - "title": "Server Info", + "title": "Pika Server Info List", "transform": "table", "type": "table-old" }, { + "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 1, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, "gridPos": { - "h": 4, - "w": 4, + "h": 1, + "w": 24, "x": 0, - "y": 8 - }, - "id": 4, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "y": 7 }, - "pluginVersion": "10.0.1", + "id": 14, + "panels": [], "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "editorMode": "code", - "expr": "pika_uptime_in_seconds{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "legendFormat": "", "refId": "A" } ], - "title": "Uptime", - "type": "stat" + "title": "Base Info", + "type": "row" }, { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] + "uid": "bdl2aren4u41sd" }, + "fontSize": "100%", "gridPos": { - "h": 4, - "w": 4, - "x": 4, + "h": 3, + "w": 24, + "x": 0, "y": 8 }, - "id": 16, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "id": 32, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false }, - "pluginVersion": "10.0.1", - "targets": [ + "styles": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_thread_num{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A" - } - ], - "title": "Tread Num", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 8 - }, - "id": 18, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" + { + "alias": "pika server addr", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" ], - "fields": "", - "values": false + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "addr", + "preserveFormat": false, + "sanitize": false, + "thresholds": [], + "type": "string", + "unit": "short" }, - "textMode": "auto" - }, - "pluginVersion": "10.0.1", - "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "expr": "pika_sync_thread_num{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A" - } - ], - "title": "Sync Thread Num", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, + "alias": "pika server alias", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } + "mappingType": 1, + "pattern": "alias", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "arch bits", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "arch_bits", + "thresholds": [], + "type": "number", "unit": "short" }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 8 - }, - "id": 45, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" + { + "alias": "collect instance", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" ], - "fields": "", - "values": false + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "instance", + "thresholds": [], + "type": "string", + "unit": "short" }, - "textMode": "auto" - }, - "pluginVersion": "10.0.1", + { + "alias": "os", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "os", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "pika version", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "pika_version", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "pika git sha", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "pika_git_sha", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "pika build date", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "pika_build_compile_date", + "thresholds": [], + "type": "date", + "unit": "short" + }, + { + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_total_connections_received{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", + "editorMode": "code", + "expr": "pika_build_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", "instant": true, - "intervalFactor": 2, + "intervalFactor": 1, "refId": "A" } ], - "title": "Total Connections Received", - "type": "stat" + "title": "Build Info", + "transform": "table", + "type": "table-old" }, { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", + "fontSize": "100%", + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 31, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "styles": [ + { + "$$hashKey": "object:689", + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:690", + "alias": "addr", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "addr", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:691", + "alias": "alias", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "alias", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:692", + "alias": "config file", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "config_file", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:693", + "alias": "collect instance", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "instance", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:694", + "alias": "process id", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "process_id", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:695", + "alias": "role", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "role", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:696", + "alias": "server id", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "server_id", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:697", + "alias": "tcp port", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "tcp_port", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:853", + "alias": "run_id", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "run_id", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:698", + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "title": "Server Info", + "transform": "table", + "type": "table-old" + }, + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 1, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", "value": null }, { @@ -1283,18 +918,17 @@ } ] }, - "unit": "short" + "unit": "s" }, "overrides": [] }, "gridPos": { "h": 4, - "w": 6, - "x": 18, - "y": 8 + "w": 4, + "x": 0, + "y": 14 }, - "id": 46, - "links": [], + "id": 4, "maxDataPoints": 100, "options": { "colorMode": "value", @@ -1308,309 +942,347 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_total_commands_processed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "editorMode": "code", + "expr": "pika_uptime_in_seconds{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": true, "intervalFactor": 2, + "legendFormat": "", "refId": "A" } ], - "title": "Total Commands Processed", + "title": "Uptime", "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 12 + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "hiddenSeries": false, - "id": 208, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 14 }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", + "id": 16, + "maxDataPoints": 100, "options": { - "alertThreshold": true + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "10.4.2", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_calls{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_thread_num{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", - "instant": false, + "instant": true, "intervalFactor": 2, - "legendFormat": "{{cmd}}", "refId": "A" } ], - "thresholds": [], - "timeRegions": [], - "title": "Total number of commands", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:363", - "decimals": 0, - "format": "short", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:364", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "Tread Num", + "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, "gridPos": { - "h": 8, - "w": 8, + "h": 4, + "w": 4, "x": 8, - "y": 12 - }, - "hiddenSeries": false, - "id": 209, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true + "y": 14 }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", + "id": 18, + "maxDataPoints": 100, "options": { - "alertThreshold": true + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "10.4.2", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_usec{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_sync_thread_num{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", - "instant": false, + "instant": true, "intervalFactor": 2, - "legendFormat": "{{cmd}}", "refId": "A" } ], - "thresholds": [], - "timeRegions": [], - "title": "Total milliseconds of the command", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:448", - "decimals": 2, - "format": "short", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:449", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "Sync Thread Num", + "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 12 + "uid": "bdl2aren4u41sd" }, - "hiddenSeries": false, - "id": 210, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 14 + }, + "id": 45, + "maxDataPoints": 100, "options": { - "alertThreshold": true + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "10.4.2", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_usec_per_call{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_total_connections_received{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", - "instant": false, + "instant": true, "intervalFactor": 2, - "legendFormat": "{{cmd}}", "refId": "A" } ], - "thresholds": [], - "timeRegions": [], - "title": "Average milliseconds of the command time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] + "title": "Total Connections Received", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" }, - "yaxes": [ - { - "$$hashKey": "object:448", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, "decimals": 2, - "format": "short", - "logBase": 1, - "min": "0", - "show": true + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 14 + }, + "id": 46, + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ { - "$$hashKey": "object:449", - "format": "short", - "logBase": 1, - "show": true + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "expr": "pika_total_commands_processed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "Total Commands Processed", + "type": "stat" }, { "aliasColors": {}, @@ -1619,7 +1291,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 0, "fill": 1, @@ -1628,10 +1300,10 @@ "h": 8, "w": 8, "x": 0, - "y": 20 + "y": 18 }, "hiddenSeries": false, - "id": 75, + "id": 208, "legend": { "alignAsTable": true, "avg": false, @@ -1644,13 +1316,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -1662,19 +1333,20 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_connected_clients{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "editorMode": "code", + "expr": "pika_calls{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "connected-clients", + "legendFormat": "{{cmd}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Connected Clients", + "title": "Total number of commands", "tooltip": { "shared": true, "sort": 0, @@ -1688,6 +1360,7 @@ }, "yaxes": [ { + "$$hashKey": "object:363", "decimals": 0, "format": "short", "logBase": 1, @@ -1695,6 +1368,7 @@ "show": true }, { + "$$hashKey": "object:364", "format": "short", "logBase": 1, "show": true @@ -1711,7 +1385,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -1720,13 +1394,13 @@ "h": 8, "w": 8, "x": 8, - "y": 20 + "y": 18 }, "hiddenSeries": false, - "id": 76, + "id": 209, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -1736,13 +1410,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -1754,20 +1427,20 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "(irate(pika_used_cpu_sys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m]) + irate(pika_used_cpu_user{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m])) * 100", + "expr": "pika_usec{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "cpu-usage", + "legendFormat": "{{cmd}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "CPU Usage", + "title": "Total milliseconds of the command", "tooltip": { "shared": true, "sort": 0, @@ -1781,15 +1454,15 @@ }, "yaxes": [ { - "$$hashKey": "object:502", + "$$hashKey": "object:448", "decimals": 2, - "format": "percent", + "format": "short", "logBase": 1, "min": "0", "show": true }, { - "$$hashKey": "object:503", + "$$hashKey": "object:449", "format": "short", "logBase": 1, "show": true @@ -1806,7 +1479,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -1815,13 +1488,13 @@ "h": 8, "w": 8, "x": 16, - "y": 20 + "y": 18 }, "hiddenSeries": false, - "id": 77, + "id": 210, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -1831,13 +1504,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -1849,19 +1521,20 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "(irate(pika_used_cpu_sys_children{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m]) + irate(pika_used_cpu_user_children{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m])) * 100", + "editorMode": "code", + "expr": "pika_usec_per_call{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "cpu-usage-children", + "legendFormat": "{{cmd}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "CPU Usage Children", + "title": "Average milliseconds of the command time", "tooltip": { "shared": true, "sort": 0, @@ -1875,13 +1548,15 @@ }, "yaxes": [ { + "$$hashKey": "object:448", "decimals": 2, - "format": "percent", + "format": "short", "logBase": 1, "min": "0", "show": true }, { + "$$hashKey": "object:449", "format": "short", "logBase": 1, "show": true @@ -1898,22 +1573,22 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, + "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, - "y": 28 + "y": 26 }, "hiddenSeries": false, - "id": 20, + "id": 75, "legend": { "alignAsTable": true, - "avg": true, + "avg": false, "current": true, "max": true, "min": true, @@ -1923,13 +1598,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -1941,19 +1615,19 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_used_memory{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_connected_clients{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "used-memory", + "legendFormat": "connected-clients", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Used Memory", + "title": "Connected Clients", "tooltip": { "shared": true, "sort": 0, @@ -1967,8 +1641,8 @@ }, "yaxes": [ { - "decimals": 2, - "format": "bytes", + "decimals": 0, + "format": "short", "logBase": 1, "min": "0", "show": true @@ -1990,7 +1664,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -1999,30 +1673,28 @@ "h": 8, "w": 8, "x": 8, - "y": 28 + "y": 26 }, "hiddenSeries": false, - "id": 2, + "id": 76, "legend": { "alignAsTable": true, - "avg": true, + "avg": false, "current": true, "max": true, "min": true, - "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -2034,19 +1706,20 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_db_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "editorMode": "code", + "expr": "(irate(pika_used_cpu_sys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m]) + irate(pika_used_cpu_user{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m])) * 100", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "compression-{{compression}}", + "legendFormat": "cpu-usage", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "DB Size", + "title": "CPU Usage", "tooltip": { "shared": true, "sort": 0, @@ -2060,13 +1733,15 @@ }, "yaxes": [ { + "$$hashKey": "object:502", "decimals": 2, - "format": "bytes", + "format": "percent", "logBase": 1, "min": "0", "show": true }, { + "$$hashKey": "object:503", "format": "short", "logBase": 1, "show": true @@ -2083,7 +1758,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -2092,13 +1767,13 @@ "h": 8, "w": 8, "x": 16, - "y": 28 + "y": 26 }, "hiddenSeries": false, - "id": 24, + "id": 77, "legend": { "alignAsTable": true, - "avg": true, + "avg": false, "current": true, "max": true, "min": true, @@ -2108,22 +1783,16 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "db-tablereader-usage", - "transform": "negative-Y" - } - ], + "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, @@ -2131,29 +1800,19 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_db_memtable_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "(irate(pika_used_cpu_sys_children{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m]) + irate(pika_used_cpu_user_children{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[1m])) * 100", "format": "time_series", - "intervalFactor": 1, - "legendFormat": "db-memtable-usage", + "instant": false, + "intervalFactor": 2, + "legendFormat": "cpu-usage-children", "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "expr": "pika_db_tablereader_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "db-tablereader-usage", - "refId": "B" } ], "thresholds": [], "timeRegions": [], - "title": "DB Memtable Usage", + "title": "CPU Usage Children", "tooltip": { "shared": true, "sort": 0, @@ -2168,8 +1827,9 @@ "yaxes": [ { "decimals": 2, - "format": "bytes", + "format": "percent", "logBase": 1, + "min": "0", "show": true }, { @@ -2189,7 +1849,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -2198,30 +1858,28 @@ "h": 8, "w": 8, "x": 0, - "y": 36 + "y": 34 }, "hiddenSeries": false, - "id": 205, + "id": 20, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, - "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -2233,20 +1891,19 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_log_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_used_memory{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "log_size", + "legendFormat": "used-memory", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Log Size", + "title": "Used Memory", "tooltip": { "shared": true, "sort": 0, @@ -2260,7 +1917,6 @@ }, "yaxes": [ { - "$$hashKey": "object:2633", "decimals": 2, "format": "bytes", "logBase": 1, @@ -2268,7 +1924,6 @@ "show": true }, { - "$$hashKey": "object:2634", "format": "short", "logBase": 1, "show": true @@ -2285,7 +1940,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "decimals": 2, "fill": 1, @@ -2294,29 +1949,29 @@ "h": 8, "w": 8, "x": 8, - "y": 36 + "y": 34 }, "hiddenSeries": false, - "id": 30, + "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, + "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -2328,19 +1983,19 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "rate(pika_total_commands_processed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[5m])", + "expr": "pika_db_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "instant": false, "intervalFactor": 2, - "legendFormat": "commands-processed/sec", + "legendFormat": "compression-{{compression}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Commands Processed in per second", + "title": "DB Size", "tooltip": { "shared": true, "sort": 0, @@ -2354,15 +2009,13 @@ }, "yaxes": [ { - "$$hashKey": "object:448", "decimals": 2, - "format": "short", + "format": "bytes", "logBase": 1, "min": "0", "show": true }, { - "$$hashKey": "object:449", "format": "short", "logBase": 1, "show": true @@ -2379,41 +2032,46 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, + "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, - "y": 36 + "y": 34 }, "hiddenSeries": false, - "id": 58, + "id": 24, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, - "min": false, + "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "db-tablereader-usage", + "transform": "negative-Y" + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, @@ -2421,20 +2079,29 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_db_memtable_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{data_type}}", - "range": true, + "legendFormat": "db-memtable-usage", "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "expr": "pika_db_tablereader_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "db-tablereader-usage", + "refId": "B" } ], "thresholds": [], "timeRegions": [], - "title": "The number of Keys", + "title": "DB Memtable Usage", "tooltip": { "shared": true, "sort": 0, @@ -2448,14 +2115,12 @@ }, "yaxes": [ { - "$$hashKey": "object:744", - "format": "none", + "decimals": 2, + "format": "bytes", "logBase": 1, - "min": "0", "show": true }, { - "$$hashKey": "object:745", "format": "short", "logBase": 1, "show": true @@ -2466,115 +2131,99 @@ } }, { - "collapsed": false, + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" + "uid": "bdl2aren4u41sd" }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 1, - "w": 24, + "h": 8, + "w": 8, "x": 0, - "y": 44 + "y": 42 }, - "id": 42, - "panels": [], + "hiddenSeries": false, + "id": 205, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" + "uid": "bdl2aren4u41sd" }, + "editorMode": "code", + "expr": "pika_log_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "log_size", "refId": "A" } ], - "title": "Replication", - "type": "row" - }, - { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 5, - "w": 5, - "x": 0, - "y": 45 + "thresholds": [], + "timeRegions": [], + "title": "Log Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" }, - "id": 206, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": false + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] }, - "styles": [ - { - "$$hashKey": "object:4318", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, + "yaxes": [ { - "$$hashKey": "object:4319", - "alias": "pika node role", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", + "$$hashKey": "object:2633", "decimals": 2, - "mappingType": 1, - "pattern": "role", - "preserveFormat": false, - "sanitize": false, - "thresholds": [], - "type": "string", - "unit": "short" + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true }, { - "$$hashKey": "object:4327", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "table", - "instant": true, - "intervalFactor": 1, - "refId": "A" + "$$hashKey": "object:2634", + "format": "short", + "logBase": 1, + "show": true } ], - "title": "Role", - "transform": "table", - "type": "table-old" + "yaxis": { + "align": false + } }, { "aliasColors": {}, @@ -2583,22 +2232,22 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, + "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 5, - "w": 7, - "x": 5, - "y": 45 + "h": 8, + "w": 8, + "x": 8, + "y": 42 }, "hiddenSeries": false, - "id": 44, + "id": 30, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -2608,13 +2257,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -2626,20 +2274,19 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_connected_slaves{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "rate(pika_total_commands_processed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}[5m])", "format": "time_series", + "instant": false, "intervalFactor": 2, - "legendFormat": "connected-slaves", - "range": true, + "legendFormat": "commands-processed/sec", "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Connected Slaves", + "title": "Commands Processed in per second", "tooltip": { "shared": true, "sort": 0, @@ -2653,15 +2300,15 @@ }, "yaxes": [ { - "$$hashKey": "object:1250", - "decimals": 0, - "format": "none", + "$$hashKey": "object:448", + "decimals": 2, + "format": "short", "logBase": 1, "min": "0", "show": true }, { - "$$hashKey": "object:1251", + "$$hashKey": "object:449", "format": "short", "logBase": 1, "show": true @@ -2672,192 +2319,24 @@ } }, { - "columns": [], + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "fontSize": "100%", + "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 45 - }, - "id": 68, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:776", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "$$hashKey": "object:777", - "alias": "slave conn fd", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "slave_conn_fd", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:778", - "alias": "slave ip", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "slave_ip", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:779", - "alias": "slave port", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "mappingType": 1, - "pattern": "slave_port", - "thresholds": [], - "type": "string", - "unit": "none" - }, - { - "$$hashKey": "object:780", - "alias": "slave_conn_fd", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "mappingType": 1, - "pattern": "slave_conn_fd", - "thresholds": [], - "type": "string", - "unit": "none" - }, - { - "$$hashKey": "object:781", - "alias": "slave lag", - "align": "auto", - "colorMode": "cell", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "#508642", - "rgba(245, 54, 54, 0.9)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "mappingType": 1, - "pattern": "slave_lag", - "thresholds": [ - "0", - "1" - ], - "type": "number", - "unit": "none" - }, - { - "$$hashKey": "object:3299", - "alias": "db id", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "db", - "thresholds": [], - "type": "number", - "unit": "short" - }, - { - "$$hashKey": "object:782", - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_slave_lag{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "table", - "instant": true, - "intervalFactor": 2, - "legendFormat": "__auto", - "refId": "A" - } - ], - "title": "Connected Slave List", - "transform": "table", - "type": "table-old" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 6, - "x": 0, - "y": 50 + "h": 8, + "w": 8, + "x": 16, + "y": 42 }, "hiddenSeries": false, - "id": 193, + "id": 58, "legend": { "alignAsTable": true, "avg": false, @@ -2870,13 +2349,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.0.1", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -2888,20 +2366,20 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_master_link_status{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "pika_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{master_host}} {{master_port}}", + "legendFormat": "{{data_type}}", "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Master Link Status", + "title": "The number of Keys", "tooltip": { "shared": true, "sort": 0, @@ -2915,14 +2393,14 @@ }, "yaxes": [ { - "$$hashKey": "object:300", + "$$hashKey": "object:744", "format": "none", "logBase": 1, "min": "0", "show": true }, { - "$$hashKey": "object:301", + "$$hashKey": "object:745", "format": "short", "logBase": 1, "show": true @@ -2933,3038 +2411,4606 @@ } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, "gridPos": { - "h": 11, - "w": 6, - "x": 6, + "h": 1, + "w": 24, + "x": 0, "y": 50 }, - "hiddenSeries": false, - "id": 194, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "id": 42, + "panels": [ { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_slave_priority{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{master_host}} {{master_port}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Slave Priority", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:457", - "decimals": 0, - "format": "short", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:458", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 6, - "x": 12, - "y": 50 - }, - "hiddenSeries": false, - "id": 40, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "fontSize": "100%", + "gridPos": { + "h": 5, + "w": 5, + "x": 0, + "y": 11 }, - "editorMode": "code", - "expr": "pika_binlog_offset_db{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{db}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Binlog Offset", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2312", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "id": 206, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false + }, + "styles": [ + { + "$$hashKey": "object:4318", + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:4319", + "alias": "pika node role", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "role", + "preserveFormat": false, + "sanitize": false, + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:4327", + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_server_info{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 1, + "refId": "A" + } + ], + "title": "Role", + "transform": "table", + "type": "table-old" }, { - "$$hashKey": "object:2313", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 6, - "x": 18, - "y": 50 - }, - "hiddenSeries": false, - "id": 207, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_binlog_offset_filenum_db{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{db}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Binlog Offset Filenum", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:4755", "decimals": 0, - "format": "short", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 7, + "x": 5, + "y": 11 + }, + "hiddenSeries": false, + "id": 44, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_connected_slaves{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "connected-slaves", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Connected Slaves", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:1250", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:1251", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:4756", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 61 - }, - "id": 48, - "panels": [], - "targets": [ - { + "columns": [], "datasource": { "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" + "uid": "bdl2aren4u41sd" }, - "refId": "A" - } - ], - "title": "Time-consuming operation", - "type": "row" - }, - { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 12, - "x": 0, - "y": 62 - }, - "hideTimeOverride": false, - "id": 53, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 6, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "date" + "fontSize": "100%", + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 68, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "styles": [ + { + "$$hashKey": "object:776", + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:777", + "alias": "slave conn fd", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "slave_conn_fd", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:778", + "alias": "slave ip", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "slave_ip", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "$$hashKey": "object:779", + "alias": "slave port", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "mappingType": 1, + "pattern": "slave_port", + "thresholds": [], + "type": "string", + "unit": "none" + }, + { + "$$hashKey": "object:780", + "alias": "slave_conn_fd", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "mappingType": 1, + "pattern": "slave_conn_fd", + "thresholds": [], + "type": "string", + "unit": "none" + }, + { + "$$hashKey": "object:781", + "alias": "slave lag", + "align": "auto", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "#508642", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "mappingType": 1, + "pattern": "slave_lag", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "none" + }, + { + "$$hashKey": "object:3299", + "alias": "db id", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "db", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "$$hashKey": "object:782", + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_slave_lag{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "__auto", + "refId": "A" + } + ], + "title": "Connected Slave List", + "transform": "table", + "type": "table-old" }, { - "alias": "latest start time", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 6, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 193, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_master_link_status{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{master_host}} {{master_port}}", + "range": true, + "refId": "A" + } ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": false, - "mappingType": 1, - "pattern": "keyspace_time", "thresholds": [], - "type": "date", - "unit": "short" + "timeRegions": [], + "title": "Master Link Status", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:300", + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:301", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "alias": "is scaning keyspace", - "align": "auto", - "colorMode": "cell", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 6, + "x": 6, + "y": 16 + }, + "hiddenSeries": false, + "id": 194, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_slave_priority{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{master_host}} {{master_port}}", + "refId": "A" + } ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - "1", - "1" + "thresholds": [], + "timeRegions": [], + "title": "Slave Priority", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:457", + "decimals": 0, + "format": "short", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:458", + "format": "short", + "logBase": 1, + "show": true + } ], - "type": "number", - "unit": "short" + "yaxis": { + "align": false + } }, { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 6, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 40, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_binlog_offset_db{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{db}}", + "range": true, + "refId": "A" + } ], - "decimals": 2, - "pattern": "/.*/", "thresholds": [], - "type": "hidden", - "unit": "short" + "timeRegions": [], + "title": "Binlog Offset", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2312", + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2313", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 6, + "x": 18, + "y": 16 + }, + "hiddenSeries": false, + "id": 207, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_binlog_offset_filenum_db{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{db}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Binlog Offset Filenum", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:4755", + "decimals": 0, + "format": "short", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:4756", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } } ], "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "editorMode": "code", - "expr": "pika_is_scaning_keyspace{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "table", - "instant": true, - "intervalFactor": 2, - "legendFormat": "", "refId": "A" } ], - "title": "Scan Keyspace", - "transform": "table", - "type": "table-old" + "title": "Replication", + "type": "row" }, { - "columns": [], + "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "fontSize": "100%", "gridPos": { - "h": 3, - "w": 12, - "x": 12, - "y": 62 - }, - "id": 50, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 8, - "desc": true + "h": 1, + "w": 24, + "x": 0, + "y": 51 }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "latest start time", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "bgsave_start_time", - "thresholds": [], - "type": "date", - "unit": "short" - }, - { - "alias": "is bgsaving", - "align": "auto", - "colorMode": "cell", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - "1", - "1" - ], - "type": "number", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ + "id": 48, + "panels": [ { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "expr": "pika_is_bgsaving{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "table", - "instant": true, - "intervalFactor": 2, - "refId": "A" - } - ], - "title": "Bgsave", - "transform": "table", - "type": "table-old" - }, - { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 65 - }, - "hideTimeOverride": false, - "id": 54, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 8, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "date" - }, - { - "alias": "compact cron", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": false, - "mappingType": 1, - "pattern": "compact_cron", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "is compact", - "align": "auto", - "colorMode": "cell", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "Value", - "thresholds": [ - "1", - "1" + "fontSize": "100%", + "gridPos": { + "h": 3, + "w": 12, + "x": 0, + "y": 12 + }, + "hideTimeOverride": false, + "id": 53, + "scroll": true, + "showHeader": true, + "sort": { + "col": 6, + "desc": true + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "link": false, + "pattern": "Time", + "type": "date" + }, + { + "alias": "latest start time", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "mappingType": 1, + "pattern": "keyspace_time", + "thresholds": [], + "type": "date", + "unit": "short" + }, + { + "alias": "is scaning keyspace", + "align": "auto", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Value", + "thresholds": [ + "1", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } ], - "type": "number", - "unit": "short" - }, - { - "alias": "compact interval", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_is_scaning_keyspace{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "compact_interval", - "thresholds": [], - "type": "string", - "unit": "short" + "title": "Scan Keyspace", + "transform": "table", + "type": "table-old" }, { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ - { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_compact{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "table", - "instant": true, - "intervalFactor": 2, - "refId": "A" - } - ], - "title": "Compact", - "transform": "table", - "type": "table-old" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 68 - }, - "id": 56, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" - }, - "refId": "A" - } - ], - "title": "Keys Metrics", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 8, - "x": 0, - "y": 69 - }, - "hiddenSeries": false, - "id": 62, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}} {{db}} ", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Keys", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "logBase": 1, - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 8, - "x": 8, - "y": 69 - }, - "hiddenSeries": false, - "id": 191, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_expire_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}} {{db}} ", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Expire Keys", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "logBase": 1, - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 8, - "x": 16, - "y": 69 - }, - "hiddenSeries": false, - "id": 192, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "editorMode": "code", - "expr": "pika_invalid_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}} {{db}} ", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Invalid Keys", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "logBase": 1, - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 80 - }, - "id": 203, - "panels": [], - "title": "Network", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 81 - }, - "hiddenSeries": false, - "id": 195, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "fontSize": "100%", + "gridPos": { + "h": 3, + "w": 12, + "x": 12, + "y": 12 }, - "editorMode": "code", - "exemplar": false, - "expr": "pika_total_net_input_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{addr}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Net Input Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2385", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:2386", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 81 - }, - "hiddenSeries": false, - "id": 196, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.0.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "id": 50, + "scroll": true, + "showHeader": true, + "sort": { + "col": 8, + "desc": true }, - "editorMode": "code", - "expr": "pika_instantaneous_input_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{ addr }}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Instantaneous Input Kbps", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2231", - "decimals": 2, - "format": "KiBs", - "label": "", - "logBase": 1, - "min": "0", - "show": true + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "alias": "latest start time", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "bgsave_start_time", + "thresholds": [], + "type": "date", + "unit": "short" + }, + { + "alias": "is bgsaving", + "align": "auto", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Value", + "thresholds": [ + "1", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "expr": "pika_is_bgsaving{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "title": "Bgsave", + "transform": "table", + "type": "table-old" }, { - "$$hashKey": "object:2232", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": 0 - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 89 - }, - "hiddenSeries": false, - "id": 197, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "exemplar": false, - "expr": "pika_total_net_output_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{addr}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Net Output Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2385", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:2386", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 89 - }, - "hiddenSeries": false, - "id": 198, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "fontSize": "100%", + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 15 }, - "editorMode": "code", - "expr": "pika_instantaneous_output_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{ addr }}", - "refId": "A" + "hideTimeOverride": false, + "id": 54, + "scroll": true, + "showHeader": true, + "sort": { + "col": 8, + "desc": true + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "link": false, + "pattern": "Time", + "type": "date" + }, + { + "alias": "compact cron", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "mappingType": 1, + "pattern": "compact_cron", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "is compact", + "align": "auto", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Value", + "thresholds": [ + "1", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "compact interval", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "compact_interval", + "thresholds": [], + "type": "string", + "unit": "short" + }, + { + "alias": "", + "align": "auto", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "hidden", + "unit": "short" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_compact{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "table", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "title": "Compact", + "transform": "table", + "type": "table-old" } ], - "thresholds": [], - "timeRegions": [], - "title": "Instantaneous Output Kbps", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2231", - "decimals": 2, - "format": "KiBs", - "label": "", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:2232", - "format": "short", - "logBase": 1, - "show": true + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" + }, + "refId": "A" } ], - "yaxis": { - "align": false, - "alignLevel": 0 - } + "title": "Time-consuming operation", + "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" }, - "fill": 1, - "fillGradient": 0, "gridPos": { - "h": 8, - "w": 12, + "h": 1, + "w": 24, "x": 0, - "y": 97 - }, - "hiddenSeries": false, - "id": 199, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "y": 52 }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "id": 56, + "panels": [ { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "exemplar": false, - "expr": "pika_total_net_repl_input_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{addr}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Net Replication Input Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 8, + "x": 0, + "y": 13 + }, + "hiddenSeries": false, + "id": 62, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}} {{db}} ", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Keys", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { - "$$hashKey": "object:2385", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 8, + "x": 8, + "y": 13 + }, + "hiddenSeries": false, + "id": 191, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_expire_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}} {{db}} ", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Expire Keys", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:2386", - "format": "short", - "logBase": 1, - "show": true + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 8, + "x": 16, + "y": 13 + }, + "hiddenSeries": false, + "id": 192, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_invalid_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}} {{db}} ", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Invalid Keys", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } } ], - "yaxis": { - "align": false - } + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "f1b0a045-7478-4185-a338-3a88f6d1fe97" + }, + "refId": "A" + } + ], + "title": "Keys Metrics", + "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, + "collapsed": true, "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 97 - }, - "hiddenSeries": false, - "id": 200, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "h": 1, + "w": 24, + "x": 0, + "y": 53 }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "id": 203, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 14 + }, + "hiddenSeries": false, + "id": 195, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "exemplar": false, + "expr": "pika_total_net_input_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Net Input Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2385", + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2386", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 14 + }, + "hiddenSeries": false, + "id": 196, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_instantaneous_input_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{ addr }}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Instantaneous Input Kbps", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2231", + "decimals": 2, + "format": "KiBs", + "label": "", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2232", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": 0 + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_instantaneous_input_repl_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{ addr }}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Instantaneous Input Replication Kbps", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 22 + }, + "hiddenSeries": false, + "id": 197, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "exemplar": false, + "expr": "pika_total_net_output_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Net Output Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2385", + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2386", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { - "$$hashKey": "object:2231", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, "decimals": 2, - "format": "KiBs", - "label": "", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 22 + }, + "hiddenSeries": false, + "id": 198, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_instantaneous_output_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{ addr }}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Instantaneous Output Kbps", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2231", + "decimals": 2, + "format": "KiBs", + "label": "", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2232", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": 0 + } }, { - "$$hashKey": "object:2232", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": 0 - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 105 - }, - "hiddenSeries": false, - "id": 201, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "exemplar": false, - "expr": "pika_total_net_repl_output_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{addr}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Net Replication Output Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2385", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 30 + }, + "hiddenSeries": false, + "id": 199, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "exemplar": false, + "expr": "pika_total_net_repl_input_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Net Replication Input Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2385", + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2386", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:2386", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 105 - }, - "hiddenSeries": false, - "id": 202, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 30 + }, + "hiddenSeries": false, + "id": 200, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_instantaneous_input_repl_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{ addr }}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Instantaneous Input Replication Kbps", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2231", + "decimals": 2, + "format": "KiBs", + "label": "", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2232", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": 0 + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_instantaneous_output_repl_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{ addr }}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Instantaneous Output Replication Kbps", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2231", - "decimals": 2, - "format": "KiBs", - "label": "", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 38 + }, + "hiddenSeries": false, + "id": 201, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "exemplar": false, + "expr": "pika_total_net_repl_output_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Net Replication Output Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2385", + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2386", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:2232", - "format": "short", - "logBase": 1, - "show": true + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 38 + }, + "hiddenSeries": false, + "id": 202, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_instantaneous_output_repl_kbps{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{ addr }}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Instantaneous Output Replication Kbps", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2231", + "decimals": 2, + "format": "KiBs", + "label": "", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2232", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": 0 + } } ], - "yaxis": { - "align": false, - "alignLevel": 0 - } + "title": "Network", + "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 113 + "y": 54 }, "id": 90, - "panels": [], - "title": "RocksDB", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 0, - "y": 114 - }, - "hiddenSeries": false, - "id": 190, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "panels": [ { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_mem_table_flush_pending{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memtable Flush Pending", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3638", "decimals": 0, - "format": "bool", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 190, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_mem_table_flush_pending{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Memtable Flush Pending", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:3638", + "decimals": 0, + "format": "bool", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:3639", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:3639", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 6, - "y": 114 - }, - "hiddenSeries": false, - "id": 97, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 15 + }, + "hiddenSeries": false, + "id": 97, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_immutable_mem_table{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Immutable MemTable", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:3880", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:3881", + "format": "none", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_num_immutable_mem_table{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Immutable MemTable", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3880", "decimals": 0, - "format": "none", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 12, + "y": 15 + }, + "hiddenSeries": false, + "id": 126, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_immutable_mem_table_flushed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Immutable Memtable Flushed", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:4122", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:4123", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:3881", - "format": "none", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 12, - "y": 114 - }, - "hiddenSeries": false, - "id": 126, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_num_immutable_mem_table_flushed{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Immutable Memtable Flushed", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:4122", "decimals": 0, - "format": "none", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 18, + "y": 15 + }, + "hiddenSeries": false, + "id": 98, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_running_flushes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Running Flushes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:5804", + "decimals": 0, + "format": "short", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:5805", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:4123", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 114 - }, - "hiddenSeries": false, - "id": 98, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 0, + "y": 28 + }, + "hiddenSeries": false, + "id": 127, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_cur_size_active_mem_table{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Cur Size Active Memtable", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 8, + "y": 28 + }, + "hiddenSeries": false, + "id": 102, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_cur_size_all_mem_tables{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Cur Size All Memtables", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_num_running_flushes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Running Flushes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5804", - "decimals": 0, - "format": "short", - "logBase": 1, - "min": "0", - "show": true + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 16, + "y": 28 + }, + "hiddenSeries": false, + "id": 103, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "10.4.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_size_all_mem_tables{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Size All Memtables", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:6293", + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:6294", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:5805", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 0, - "y": 127 - }, - "hiddenSeries": false, - "id": 127, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_cur_size_active_mem_table{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Cur Size Active Memtable", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 0, + "y": 41 + }, + "hiddenSeries": false, + "id": 131, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_block_cache_capacity{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Block Cache Capacity", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 8, + "y": 41 + }, + "hiddenSeries": false, + "id": 109, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_block_cache_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Block Cache Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 8, - "y": 127 - }, - "hiddenSeries": false, - "id": 102, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 8, + "x": 16, + "y": 41 + }, + "hiddenSeries": false, + "id": 110, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_block_cache_pinned_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Block Cache Pinned Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_cur_size_all_mem_tables{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Cur Size All Memtables", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 0, + "y": 54 + }, + "hiddenSeries": false, + "id": 188, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_compaction_pending{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Is Compaction Pending", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:6573", + "decimals": 0, + "format": "bool", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:6574", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 16, - "y": 127 - }, - "hiddenSeries": false, - "id": 103, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_size_all_mem_tables{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Size All Memtables", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 54 + }, + "hiddenSeries": false, + "id": 101, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_running_compactions{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Running Compactions", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:6074", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:6075", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { - "$$hashKey": "object:6293", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 12, + "y": 54 + }, + "hiddenSeries": false, + "id": 129, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_total_sst_files_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total SST Files Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:6294", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 0, - "y": 140 - }, - "hiddenSeries": false, - "id": 131, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 18, + "y": 54 + }, + "hiddenSeries": false, + "id": 130, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_live_sst_files_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Live SST Files Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_block_cache_capacity{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Block Cache Capacity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 0, + "y": 67 + }, + "hiddenSeries": false, + "id": 132, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "exemplar": false, + "expr": "pika_num_blob_files{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Blob Files", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:6827", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:6828", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 67 + }, + "hiddenSeries": false, + "id": 133, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_blob_stats{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Blob Stats", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:7309", + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:7310", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 8, - "y": 140 - }, - "hiddenSeries": false, - "id": 109, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_block_cache_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Block Cache Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 12, + "y": 67 + }, + "hiddenSeries": false, + "id": 134, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_total_blob_file_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Total Blob File Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 8, - "x": 16, - "y": 140 - }, - "hiddenSeries": false, - "id": 110, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 18, + "y": 67 + }, + "hiddenSeries": false, + "id": 135, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_live_blob_file_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Live Blob File Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_block_cache_pinned_usage{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Block Cache Pinned Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 0, + "y": 80 + }, + "hiddenSeries": false, + "id": 128, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_estimate_live_data_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Estimate Live Data Size", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 0, - "y": 153 - }, - "hiddenSeries": false, - "id": 188, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_compaction_pending{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Is Compaction Pending", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 80 + }, + "hiddenSeries": false, + "id": 105, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_estimate_table_readers_mem{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Estimate Table Readers Mem", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { - "$$hashKey": "object:6573", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, "decimals": 0, - "format": "bool", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 12, + "y": 80 + }, + "hiddenSeries": false, + "id": 104, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_estimate_num_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Estimate Num Keys", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:7567", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:7568", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:6574", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 0, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 6, - "y": 153 - }, - "hiddenSeries": false, - "id": 101, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 2, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 18, + "y": 80 + }, + "hiddenSeries": false, + "id": 204, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_estimate_pending_compaction_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Estimate Pending Compaction Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:481", + "decimals": 2, + "format": "bytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:482", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_num_running_compactions{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Running Compactions", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:6074", "decimals": 0, - "format": "none", - "logBase": 1, - "min": "0", - "show": true + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 0, + "y": 93 + }, + "hiddenSeries": false, + "id": 187, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_background_errors{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Background Errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:7809", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:7810", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "$$hashKey": "object:6075", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 12, - "y": 153 - }, - "hiddenSeries": false, - "id": 129, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_total_sst_files_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total SST Files Size", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 93 + }, + "hiddenSeries": false, + "id": 189, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_current_super_version_number{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Current Super Version Number", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:8051", + "decimals": 0, + "format": "none", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:8052", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_MIXFICSOL}" - }, - "decimals": 2, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 153 - }, - "hiddenSeries": false, - "id": 130, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.5.2", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "editorMode": "code", - "expr": "pika_live_sst_files_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Live SST Files Size", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 12, + "y": 93 + }, + "hiddenSeries": false, + "id": 107, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_live_versions{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Live Versions", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { - "format": "short", - "logBase": 1, - "show": true + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "decimals": 0, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 13, + "w": 6, + "x": 18, + "y": 93 + }, + "hiddenSeries": false, + "id": 106, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.5.2", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "editorMode": "code", + "expr": "pika_num_snapshots{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 2, + "legendFormat": "{{data_type}}", + "refId": "A" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Snapshots", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "logBase": 1, + "min": "0", + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } } ], - "yaxis": { - "align": false - } + "title": "RocksDB", + "type": "row" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 55 + }, + "id": 211, + "panels": [], + "title": "Codis", + "type": "row" }, { "aliasColors": {}, @@ -5973,22 +7019,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, + "h": 7, + "w": 10, "x": 0, - "y": 166 + "y": 56 }, "hiddenSeries": false, - "id": 132, + "id": 212, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -5998,13 +7043,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6016,22 +7060,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", "exemplar": false, - "expr": "pika_num_blob_files{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "expr": "proxy_qps{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{addr}}", "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Blob Files", + "title": "Codis proxy qps", "tooltip": { "shared": true, "sort": 0, @@ -6045,15 +7089,15 @@ }, "yaxes": [ { - "$$hashKey": "object:6827", - "decimals": 0, - "format": "none", + "$$hashKey": "object:2385", + "format": "ops", "logBase": 1, + "max": "30000", "min": "0", "show": true }, { - "$$hashKey": "object:6828", + "$$hashKey": "object:2386", "format": "short", "logBase": 1, "show": true @@ -6070,19 +7114,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 6, - "y": 166 + "h": 7, + "w": 10, + "x": 10, + "y": 56 }, "hiddenSeries": false, - "id": 133, + "id": 213, "legend": { "alignAsTable": true, "avg": true, @@ -6095,13 +7138,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6113,20 +7155,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_blob_stats{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_max_delay{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Blob Stats", + "title": "Command max delay", "tooltip": { "shared": true, "sort": 0, @@ -6140,15 +7184,15 @@ }, "yaxes": [ { - "$$hashKey": "object:7309", - "decimals": 2, - "format": "bytes", + "$$hashKey": "object:2385", + "format": "ms", "logBase": 1, + "max": "200", "min": "0", "show": true }, { - "$$hashKey": "object:7310", + "$$hashKey": "object:2386", "format": "short", "logBase": 1, "show": true @@ -6165,19 +7209,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 12, - "y": 166 + "h": 7, + "w": 10, + "x": 0, + "y": 63 }, "hiddenSeries": false, - "id": 134, + "id": 215, "legend": { "alignAsTable": true, "avg": true, @@ -6190,13 +7233,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6208,20 +7250,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_total_blob_file_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_total_slow_cmd{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Total Blob File Size", + "title": "Proxy total slow cmd", "tooltip": { "shared": true, "sort": 0, @@ -6235,15 +7279,17 @@ }, "yaxes": [ { - "decimals": 2, - "format": "bytes", - "logBase": 1, + "$$hashKey": "object:2385", + "format": "none", + "logBase": 10, + "max": "100000000", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6258,19 +7304,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 166 + "h": 7, + "w": 10, + "x": 10, + "y": 63 }, "hiddenSeries": false, - "id": 135, + "id": 214, "legend": { "alignAsTable": true, "avg": true, @@ -6283,13 +7328,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6301,20 +7345,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_live_blob_file_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_online{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Live Blob File Size", + "title": "Proxy online", "tooltip": { "shared": true, "sort": 0, @@ -6328,15 +7374,17 @@ }, "yaxes": [ { - "decimals": 2, - "format": "bytes", + "$$hashKey": "object:2385", + "format": "bool_yes_no", "logBase": 1, + "max": "1", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6351,19 +7399,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, + "h": 7, + "w": 10, "x": 0, - "y": 179 + "y": 70 }, "hiddenSeries": false, - "id": 128, + "id": 217, "legend": { "alignAsTable": true, "avg": true, @@ -6376,13 +7423,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6394,20 +7440,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_estimate_live_data_size{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_rusage_mem{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Estimate Live Data Size", + "title": "Pproxy rusage mem ", "tooltip": { "shared": true, "sort": 0, @@ -6421,15 +7469,17 @@ }, "yaxes": [ { - "decimals": 2, - "format": "bytes", + "$$hashKey": "object:2385", + "format": "percentunit", "logBase": 1, + "max": "1", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6444,19 +7494,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 6, - "y": 179 + "h": 7, + "w": 10, + "x": 10, + "y": 70 }, "hiddenSeries": false, - "id": 105, + "id": 216, "legend": { "alignAsTable": true, "avg": true, @@ -6469,13 +7518,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6487,20 +7535,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_estimate_table_readers_mem{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_rusage_cpu{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{addr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Estimate Table Readers Mem", + "title": "Proxy rusage cpu", "tooltip": { "shared": true, "sort": 0, @@ -6514,15 +7564,17 @@ }, "yaxes": [ { - "decimals": 2, - "format": "bytes", + "$$hashKey": "object:2385", + "format": "percentunit", "logBase": 1, + "max": "1", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6537,22 +7589,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 12, - "y": 179 + "h": 7, + "w": 10, + "x": 0, + "y": 77 }, "hiddenSeries": false, - "id": 104, + "id": 219, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -6562,13 +7613,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6580,20 +7630,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_estimate_num_keys{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_tp100{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Estimate Num Keys", + "title": "proxy_tp100", "tooltip": { "shared": true, "sort": 0, @@ -6607,17 +7659,17 @@ }, "yaxes": [ { - "$$hashKey": "object:7567", - "decimals": 0, - "format": "none", + "$$hashKey": "object:2385", + "format": "µs", "logBase": 1, + "max": "50000", "min": "0", "show": true }, { - "$$hashKey": "object:7568", + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6632,19 +7684,18 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 2, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 179 + "h": 7, + "w": 10, + "x": 10, + "y": 77 }, "hiddenSeries": false, - "id": 204, + "id": 221, "legend": { "alignAsTable": true, "avg": true, @@ -6657,13 +7708,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6675,20 +7725,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_estimate_pending_compaction_bytes{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_tp99{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Estimate Pending Compaction Bytes", + "title": "proxy_tp99", "tooltip": { "shared": true, "sort": 0, @@ -6702,17 +7754,17 @@ }, "yaxes": [ { - "$$hashKey": "object:481", - "decimals": 2, - "format": "bytes", + "$$hashKey": "object:2385", + "format": "µs", "logBase": 1, + "max": "50000", "min": "0", "show": true }, { - "$$hashKey": "object:482", + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6727,22 +7779,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, + "h": 7, + "w": 10, "x": 0, - "y": 192 + "y": 84 }, "hiddenSeries": false, - "id": 187, + "id": 222, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -6752,13 +7803,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6770,20 +7820,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_background_errors{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_max_delay{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Background Errors", + "title": "proxy_max_delay", "tooltip": { "shared": true, "sort": 0, @@ -6797,17 +7849,17 @@ }, "yaxes": [ { - "$$hashKey": "object:7809", - "decimals": 0, - "format": "none", + "$$hashKey": "object:2385", + "format": "µs", "logBase": 1, + "max": "2000000", "min": "0", "show": true }, { - "$$hashKey": "object:7810", + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6822,22 +7874,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 6, - "y": 192 + "h": 7, + "w": 10, + "x": 10, + "y": 84 }, "hiddenSeries": false, - "id": 189, + "id": 223, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -6847,13 +7898,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6865,20 +7915,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_current_super_version_number{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_delay50ms{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Current Super Version Number", + "title": "delay50ms", "tooltip": { "shared": true, "sort": 0, @@ -6892,17 +7944,17 @@ }, "yaxes": [ { - "$$hashKey": "object:8051", - "decimals": 0, - "format": "none", + "$$hashKey": "object:2385", + "format": "µs", "logBase": 1, + "max": "2000000", "min": "0", "show": true }, { - "$$hashKey": "object:8052", + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -6917,22 +7969,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 12, - "y": 192 + "h": 7, + "w": 10, + "x": 0, + "y": 91 }, "hiddenSeries": false, - "id": 107, + "id": 224, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -6942,13 +7993,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -6960,20 +8010,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_num_live_versions{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_delay100ms{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Live Versions", + "title": "delay100ms", "tooltip": { "shared": true, "sort": 0, @@ -6987,15 +8039,17 @@ }, "yaxes": [ { - "decimals": 0, - "format": "short", + "$$hashKey": "object:2385", + "format": "none", "logBase": 1, + "max": "2000000", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -7010,22 +8064,21 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, - "decimals": 0, "fill": 1, "fillGradient": 0, "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 192 + "h": 7, + "w": 10, + "x": 10, + "y": 91 }, "hiddenSeries": false, - "id": 106, + "id": 225, "legend": { "alignAsTable": true, - "avg": false, + "avg": true, "current": true, "max": true, "min": true, @@ -7035,13 +8088,12 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.5.2", + "pluginVersion": "10.4.2", "pointradius": 5, "points": false, "renderer": "flot", @@ -7053,20 +8105,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "editorMode": "code", - "expr": "pika_num_snapshots{job=~\"$job\", group=~\"$group\", instance=~\"$instance\", addr=~\"$addr\", alias=~\"$alias\"}", + "exemplar": false, + "expr": "proxy_delay200ms{addr=~\"$codis_proxy\"}", "format": "time_series", "instant": false, - "intervalFactor": 2, - "legendFormat": "{{data_type}}", + "intervalFactor": 1, + "legendFormat": "{{opstr}}", + "range": true, "refId": "A" } ], "thresholds": [], "timeRegions": [], - "title": "Snapshots", + "title": "delay200ms", "tooltip": { "shared": true, "sort": 0, @@ -7080,15 +8134,17 @@ }, "yaxes": [ { - "decimals": 0, - "format": "short", + "$$hashKey": "object:2385", + "format": "none", "logBase": 1, + "max": "2000000", "min": "0", "show": true }, { + "$$hashKey": "object:2386", "format": "short", - "logBase": 1, + "logBase": 2, "show": true } ], @@ -7097,9 +8153,8 @@ } } ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", + "refresh": "5s", + "schemaVersion": 39, "tags": [ "prometheus", "pika" @@ -7107,10 +8162,14 @@ "templating": { "list": [ { - "current": {}, + "current": { + "selected": false, + "text": "pika", + "value": "pika" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 0, @@ -7130,10 +8189,14 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": false, + "text": "test", + "value": "test" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 0, @@ -7153,10 +8216,14 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 0, @@ -7176,10 +8243,14 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": false, + "text": "127.0.0.1:1111", + "value": "127.0.0.1:1111" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 0, @@ -7199,10 +8270,15 @@ "useTags": false }, { - "current": {}, + "current": { + "isNone": true, + "selected": false, + "text": "None", + "value": "" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 0, @@ -7222,10 +8298,14 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": false, + "text": "master", + "value": "master" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 2, @@ -7245,10 +8325,14 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": false, + "text": "1", + "value": "1" + }, "datasource": { "type": "prometheus", - "uid": "${DS_MIXFICSOL}" + "uid": "bdl2aren4u41sd" }, "definition": "", "hide": 2, @@ -7266,6 +8350,37 @@ "tagsQuery": "", "type": "query", "useTags": false + }, + { + "current": { + "selected": false, + "text": "myMacdeMacBook-Pro.local:11080", + "value": "myMacdeMacBook-Pro.local:11080" + }, + "datasource": { + "type": "prometheus", + "uid": "bdl2aren4u41sd" + }, + "definition": "label_values(proxy_qps,addr)", + "hide": 0, + "includeAll": true, + "label": "Codis Proxy", + "multi": true, + "name": "codis_proxy", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(proxy_qps,addr)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false } ] }, @@ -7301,6 +8416,6 @@ "timezone": "", "title": "Prometheus Pika Exporter", "uid": "HYwVT4mZz", - "version": 1, + "version": 45, "weekStart": "" } \ No newline at end of file diff --git a/tools/pika_exporter/main.go b/tools/pika_exporter/main.go index 7e728d9a2e..f4ab41fa22 100644 --- a/tools/pika_exporter/main.go +++ b/tools/pika_exporter/main.go @@ -30,7 +30,7 @@ var ( checkScanCount = flag.Int("check.scan-count", getEnvInt("PIKA_EXPORTER_CHECK_SCAN_COUNT", 100), "When check keys and executing SCAN command, scan-count assigned to COUNT.") listenAddress = flag.String("web.listen-address", getEnv("PIKA_EXPORTER_WEB_LISTEN_ADDRESS", ":9121"), "Address to listen on for web interface and telemetry.") metricPath = flag.String("web.telemetry-path", getEnv("PIKA_EXPORTER_WEB_TELEMETRY_PATH", "/metrics"), "Path under which to expose metrics.") - logLevel = flag.String("log.level", getEnv("PIKA_EXPORTER_LOG_LEVEL", "info"), "Log level, valid options: panic fatal error warn warning info debug.") + logLevel = flag.String("log.level", getEnv("PIKA_EXPORTER_LOG_LEVEL", "error"), "Log level, valid options: panic fatal error warn warning info debug.") logFormat = flag.String("log.format", getEnv("PIKA_EXPORTER_LOG_FORMAT", "text"), "Log format, valid options: txt and json.") showVersion = flag.Bool("version", false, "Show version information and exit.") infoConfigPath = flag.String("config", getEnv("PIKA_EXPORTER_CONFIG_PATH", "config/info.toml"), "Path to config file.") diff --git a/tools/pika_exporter/version.go b/tools/pika_exporter/version.go index 8deff1ced6..0fa30f07c7 100644 --- a/tools/pika_exporter/version.go +++ b/tools/pika_exporter/version.go @@ -1,8 +1,9 @@ package main const ( - BuildVersion = "Filled in by build" - BuildCommitSha = "Filled in by build" - BuildDate = "Filled in by build" - GoVersion = "Filled in by build" + PikaExporterVersion = "3.5.5" + BuildVersion = "Filled in by build" + BuildCommitSha = "Filled in by build" + BuildDate = "Filled in by build" + GoVersion = "Filled in by build" )