Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

367 total results found

Unexpected Offset

Kafka Troubleshooting

Errors [2025-04-28 08:22:01,606] INFO [MetadataLoader id=100] initializeNewPublishers: the loader is still catching up because we still don't know the high water mark yet. (org.apache.kafka.image.loader.MetadataLoader) [2025-04-28 08:22:01,706] INFO [Metadata...

troubleshooting
offset
broker
kafka
middleware

Nginx Access Log Stats

Nginx Configuration

Log Format log_format main '$remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" ' 'rt="$request_time" ' ...

otelcol
fluent-bit
access-log
nginx
middleware

Log Format Sed

Nginx Configuration

Source Format log_format main '$remote_addr - $remote_user [$time_local] ' '"$reqpwuest" $status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; Dest Format log_format main '$remote_addr - $re...

sed
access-log
nginx
middleware

Rate Limiting

Nginx Configuration

Basic Configuration limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; server { location /login/ { limit_req zone=mylimit; proxy_pass http://my_upstream; } } limit_req_zone: Defines the params for rate limiting. Define...

rate-limit
nginx
middleware

Real IP

Nginx Configuration

A: 透传客户端真实IP有没有场景是双层nginx透传的 B: 目前只有 nginx 透传 istio 或者 f5 透传 istio 的吧 A: code的30004有一个自己的nginx做透传,然后整体平台前面还有一个nginx代理 C: 你只需要关心TCP那层就可以,Code获取真实IP是通过Haproxy的Proxy Protocol v2 协议,所以只需要支持这个协议就可以,Nginx、haproxy 都可以 A: 两个nginx绕过任意一个都能透传,放在一起就有问题,我在家里复现下 A: Ngi...

middleware
nginx
status
todo

Cannot Assign Requested Address

Nginx Troubleshooting

Errors HTTP 5022025/02/12 11:10:57 [crit] 27#27: *3710624 connect() to 10.1.114.15:8080 failed (99: Cannot assign requested address) while connecting to upstream, client: 10.244.71.211, server: foo, request: "POST /api/gateway/login/123 HTTP/1.1", upstream: "...

troubleshooting
nginx
middleware

Storage CN

Prometheus Concept

https://prometheus.io/docs/prometheus/latest/storage/ Prometheus 包含一个本地磁盘上的时间序列数据库,也可以选择集成远程存储系统。 本地存储 Prometheus 的本地时序数据库以一种自定义且高效的格式将数据存储在本地存储中。 磁盘布局 Prometheus 会将采集到的样本按两个小时为一组划分为数据块(block)。每个两个小时的数据块对应一个目录,该目录中包含: 一个 chunks 子目录(存放该时间段内所有时间序列的样本) 一个元数据文件(...

wal
tsdb
storage
prometheus
middleware

Storage

Prometheus Concept

https://prometheus.io/docs/prometheus/latest/storage/ Prometheus includes a local on-disk time series database, but also optionally integrates with remote storage systems. Local storage Prometheus's local time series database stores data in a custom, highly e...

tsdb
wal
storage
prometheus
middleware

Write Ahead Log

Prometheus Troubleshooting

Disk Watermark flood stage disk watermark [95%] exceeded on ... Launch Params --storage.tsdb.retention.time=7d --storage.tsdb.retention.size=50GB --storage.tsdb.wal-compression WAL 目录不受 tsdb.retention.size 控制 WAL 目录会定期自动压缩到 block 重启会强制压缩 WAL 数据 --storage....

troubleshooting
wal
prometheus
middleware

vmagent

VictoriaMetrics Components

Links Title URL Targets http://vmagent-host:8429/targets API Targets http://vmagent-host:8429/api/v1/targets Service Discovery http://vmagent-host:8429/service-discovery Logs {"ts":"2025-03-07T03:59:26.070Z","level":"info","caller":"VictoriaMet...

vmagent
victoria-metrics

vmoperator

VictoriaMetrics Components

VM Operator will install CRDs. kubectl get crd | grep victoria vlogs.operator.victoriametrics.com 2025-06-06T04:05:21Z vmagents.operator.victoriametrics.com 2025-06-06T04:05:21Z vmalertmanagerconfigs.operator.victoriametrics...

vmoperator
victoria-metrics

vmselect

VictoriaMetrics Components

Links Title URL vmui http://vmselect-host:8481/select/0/vmui Job Values http://vmselect-host:8481/select/0/prometheus/api/v1/label/job/values tomato{ "status": "success", "isPartial": false, "data": [ "apiserver", "backup_mysql_increm...

vmselect
victoria-metrics

vmstorage

VictoriaMetrics Components

TTL kubectl get vmcluster kubectl edit vmcluster xxx vmcluster: vmstorage: retentionPeriod: "0.233" 1 means 30 days. 0.233 means 7 days.

vmstorage
victoria-metrics

Scrape Config

VictoriaMetrics Configurations

Static Config: -promscrape.config=scrape.yaml CRD VMScrapeConfig -> Prometheus ScrapeConfig VMServiceScrape -> Prometheus ServiceMonitor VM Operator will transfer CRD to -promscrape.config=scrape.yaml VM Operator VictoriaMetrics Operator 在你创建了 VMServiceS...

vmscrapeconfig
vmservicescrape
scrape
victoria-metrics

Installation

VictoriaMetrics Troubleshooting

K8s 1.18.3 Can't install because the k8s version is too old. 0.50.0 Failed Chart: victoria-metrics-operator-0.39.1.tgz Image: 0.50.0 values.yaml: global.image.registry: “foo.example.com/prod” image.tag: “0.50.0” crds.enabled: false 0.35.0 Success Chart:...

troubleshooting
installation
victoria-metrics

maxQueryLen

VictoriaMetrics Troubleshooting

Errors 422: error when executing query="sum(rate(container_cpu_usage_seconds_total{namespace=\"foo\",container!=\"POD\",container!=\"\",pod=~\"(agent-client-demo-54f8d....too long query; got 34101 bytes; mustn't exceed `-search.maxQueryLen=16384` bytes Conf...

victoria-metrics
vmselect
troubleshooting

maxScrapeSize

VictoriaMetrics Troubleshooting

Errors promscrape.maxScrapeSize is too small exceeds -promscrape.maxScrapeSize=16777216; either reduce the response size for the target or increase -promscrape.maxScrapeSize Configuration Update vmagent deployment, add --promscrape.maxScrapeSize: 128MB. spe...

troubleshooting
vmagent
victoria-metrics

Too Many Labels

VictoriaMetrics Troubleshooting

Errors 时间:2025-03-28T07:29:53.959Z 等级:WARN 调用位置:VictoriaMetrics/lib/timeserieslimits/timeseries_limits.go:72 消息:忽略具有 41 个标签的时序数据。 原因:超出了 -maxLabelsPerTimeseries=40 的限制。 建议:减少该指标的标签数量,或提高命令行参数 -maxLabelsPerTimeseries 的值。 Source{"ts":"2025-03-28T07:29:53.959Z...

troubleshooting
label
vmagent
victoria-metrics

Term 1

Linux Command Line and Shell Scripting ... Appendix

hassle-free 无麻烦的,省心的。 Go compiles to a single, static binary with minimal runtime dependencies, making deployment straightforward and hassle-free. syntactic sugar 语法糖。obscure => 模糊/掩盖。 Ruby’s principle of “programmer happiness” sometimes results in syntactic...

appendix
lclssb
linux
operating-system

Common Commands 1

Linux Command Line and Shell Scripting ... Commands

MAN This command can view different sections of the manual pages. man man man - an interface to the system reference manuals The table below shows the section numbers of the manual followed by the types of pages they contain. 1 Executable programs or shell...

commands
lclssb
linux
operating-system