Advanced Search
Search Results
367 total results found
Logging
Networking
Packaging
Process
Storage
Tricks
Troubleshooting
Snippets
Dependency Injection
Gorocks Framework
Protobuf
Snippets
Troubleshooting
Composer
Laravel
Manual
Configuration
Metrics
Quick Start
Quick Start
Image Pull Stuck
Kube Event Log Stuck with the following log. Normal Pulling 30m kubelet Pulling image "registry.example.com/test/code-go:release-22971" Get Problem Node kubectl get po -o wide | grep foo kubectl get node -o wide Describe Node Status Check node event...
Kubernetes CIDR
Background Sealos 安装的 k8s 的 CIDR 是 100.64.xxx.xxx,会导致 keycloak 异常(什么异常?) SonyFlake 的 isPrivateIPv4 没有判断 100.xxx。 100.64.0.0/10 是 RFC 6598 定义的“共享地址”,不是 RFC1918 私有地址。 Basic Concepts CIDR (Classless Inter-Domain Routing): A method for representing IP address...
kube-state-metrics
Errors kube-state-metricsE0624 16:46:27.590502 1 metrics_handler.go:227] "Failed to write metrics" ^CE0624 16:47:27.573964 1 metrics_handler.go:227] "Failed to write metrics" err="failed to write help text: write tcp 100.81.9.63:8080->100.81.9.62:...
kubeadm Join Cluster Error
背景 在 master 机器中使用 one-ansible 安装 k8s 集群。最终发现原因是 kubernetes.example.local 这个域名连不上,在新的节点上加上 host 重新执行 kubeadm join 就好了。 错误日志 kubeadm join kubernetes.example.local:6443 --token molqef.zcb8h6z6i59wxdvf --discovery-token-ca-cert-hash sha256:c146d7fb88ecc7e41389d7...
NFS Mount Failed
Errors SourceEvents: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedMount 9m39s (x19102 over 26d) kubelet MountVolume.SetUp failed for volume "pvc-510bc02...
Rancher PVC Pending
因为 local path storage 在动态创建 helper pod 的时候,没有成功拉到 helper pod 的镜像 Errors PVC Pending code-gitaly-data-code-gitaly-0-2-0 Pending local-path 216d Describe pvc. Type: Normal Reason: ExternalProvisioning Age: 4m32s (x15836 over 2d18h) From: ...
Helm Secret Number
Rander 会 load 所有版本的 Helm Secret,会卡死,要限制 helm 保留的版本。
Traces Schema
Version 0.113.0 otel_traces CREATE TABLE default.otel_traces ( `Timestamp` DateTime64(9) CODEC(Delta(8), ZSTD(1)), `TraceId` String CODEC(ZSTD(1)), `SpanId` String CODEC(ZSTD(1)), `ParentSpanId` String CODEC(ZSTD(1)), `TraceState` String...
Concept
In tracing (especially distributed tracing, such as in OpenTelemetry), the terms resource, scope, and span each represent specific concepts in how trace data is structured and organized: 🧱 Span — the basic unit of trace A span represents a single operation w...
Clickhouse Data Demo
HTTP 200 Row 1: ────── Timestamp: 2025-05-27 14:51:23.678999930 TraceId: 3ea85b7f222073a42cd2d37c1c79ec08 SpanId: 24c7fa0f64ae344a ParentSpanId: TraceState: SpanName: ExecuteRequest SpanKind: Internal Servic...
ClickHouse Schema
otel_traces CREATE TABLE default.otel_traces ( `Timestamp` DateTime64(9) CODEC(Delta(8), ZSTD(1)), `TraceId` String CODEC(ZSTD(1)), `SpanId` String CODEC(ZSTD(1)), `ParentSpanId` String CODEC(ZSTD(1)), `TraceState` String CODEC(ZSTD(1)), ...
Demo Client
Source Code // Copyright The OpenTelemetry Authors // Modifications copyright (C) 2022 Cisco Systems, Inc. // Link to original file // https://github.com/open-telemetry/opentelemetry-go-contrib/blob/v0.14.0/instrumentation/net/http/otelhttp/example/client/cli...
Demo Server
Source Code // Copyright The OpenTelemetry Authors // Modifications copyright (C) 2022 Cisco Systems, Inc. // Link to original file // https://github.com/open-telemetry/opentelemetry-go-contrib/blob/v0.14.0/instrumentation/net/http/otelhttp/example/server/ser...
Elasticsearch Storage
Doc { "took" : 13, "timed_out" : false, "_shards" : { "total" : 1, "successful" : 1, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 81, "relation" : "eq" }, "max_score" : 1.0, "hits" : [ ...
Go Embed Migration
/** * Copyright 2022 Cisco Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen...
Quick Start
Architecture Demo Composer docker-compose.example.yml Client 会生成 traceID。 通过 HTTP 的 Header 把 traceID 带给 Server。 Client 和 Server 都会把 span 数据上报到 OTEL Collector。 graph LR subgraph "example.yml" D2[Demo Client] -->|OTLP/gRPC| F2[OTEL Collector] ...
Database Metrics Doesn't Exist
Errors Key errors{ "kind": "exporter", "data_type": "logs", "name": "clickhouse", "error": "PrepareContext:code: 81, message: Database metrics doesn't exist", "interval": "14.932404217s" } Source2025-01-08T03:43:01.128Z info internal/retr...
OTEL Collector Installaction
Environment Kubernetes Require: 1.24+ Actual: 1.18.3 Opentelemetry Collector Chart: 0.109.0 Opentelemetry Collector Contrib: 0.113.0 Internal Traffic Policy Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error vali...
Sending Queue Is Full
Error Key error{ "kind": "exporter", "data_type": "logs", "name": "clickhouse", "error": "sending queue is full", "rejected_items": 210 } Source error2025-01-07T06:32:50.218Z error internal/base_exporter.go:130 Exporting failed. Rejecting dat...
LowCardinality(T)
Description LowCardinality is an optimized column encoding type in ClickHouse, specifically designed to reduce storage space for columns with many duplicate values and accelerate query efficiency. It is particularly suitable for "tags", "status codes", "types...