Advanced Search
Search Results
20 total results found
Basic
Flow Load ansible.cfg. Load inventory from ansible.cfg. Exec biz yaml config file. Load var file from biz config file. Exec role main.yaml Module Debug - name: debug debug: msg: "命名空间:{{ monitor_namespace }},域名: {{ monitor_domain }}" Ensure Director...
Serve From Sub Path
Document Example [server] domain = tomato-monitor.example.com root_url = %(protocol)s://%(domain)s/grafana/ serve_from_sub_path = true
Installation
K8s 1.18.3 Chart: grafana-8.6.4.tgz Image: 11.4.0 seccompProfile is not support on k8s 1.18.3: Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.contain...
Label Values Not Work
Grafana v11 Background Filter(exported_namespace) is not work with old prometheus in grafana 11. label_values(kube_pod_info{exported_namespace="$namespace"},exported_pod) INFOHello, and thank you for letting us know! Please see this change in Grafana v11. We...
Migrate Issue
MySQL 监控 - MySQL 查询数 没有图表 - MySQL Temporary Objects 没有图表 - MySQL 查询类型(范围/全表) 没有图表 需要设置 interval 变量为 auto,不能为 1s。 表格 Value 字段改名 Grafana 11 表格的 Value 字段改名为指标的名字,需要在 Transformations 里面修改。 Add Series to Rows Merge series/tables 检查所有纵坐标的单位 Standard options...
Install Kafka on K8s 1.18.3
Environment k8s: 1.18.3 Chart: bitnami/kafka:25.3.5 Image: kafka:3.5.1-debian-11-r44 Helm Chart helm search repo bitnami/kafka --versions helm pull bitnami/kafka --version 25.3.5 Disable Zookeeper kraft: ## @param kraft.enabled Switch to enable or dis...
KRaft
NodePort Access
Listerners 不区分外部和内部网络,只有一个监听端口(PLAINTEXT://:9092),Kafka 内部通信(broker 与 broker)和外部客户端(本地、测试工具等)都走这个端口。 listeners=PLAINTEXT://:9092 advertised.listeners=PLAINTEXT://123.123.123.123:31092 listener.security.protocol.map=PLAINTEXT:PLAINTEXT 区分多个类型 listeners=CLIENT...
JMX: Port Already in Use
Error: JMX connector server communication error: service:jmx:rmi://kafka-broker-0:5555 jdk.internal.agent.AgentConfigurationError: java.rmi.server.ExportException: Port already in use: 5555; nested exception is: java.net.BindException: Address already ...
Leader Not Available
Leader Parition Error [Producer ] Could not connect to leader for partition CodeWallEEvent/1: Kafka::LeaderNotAvailable Describe Topic Stat kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic CodeWallEEvent Topic: CodeWallEEvent TopicId:...
Topic Not Present
Errors Source[open-telemetry-trace-id:,span-id:] 2025-03-31 17:01:32.553 ERROR 7 --- [at-handler-2591] o.s.k.support.LoggingProducerListener : Exception thrown when sending a message with key='null' and payload='{"notifyRole":"user","internal":{"isHtml":fa...
Unexpected Offset
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...
Nginx Access Log Stats
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" ' ...
Log Format Sed
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...
Rate Limiting
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...
Real IP
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...
Cannot Assign Requested Address
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: "...
Storage
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...
Write Ahead Log
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....
Storage CN
https://prometheus.io/docs/prometheus/latest/storage/ Prometheus 包含一个本地磁盘上的时间序列数据库,也可以选择集成远程存储系统。 本地存储 Prometheus 的本地时序数据库以一种自定义且高效的格式将数据存储在本地存储中。 磁盘布局 Prometheus 会将采集到的样本按两个小时为一组划分为数据块(block)。每个两个小时的数据块对应一个目录,该目录中包含: 一个 chunks 子目录(存放该时间段内所有时间序列的样本) 一个元数据文件(...