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

Logging

Linux

Networking

Linux

Packaging

Linux

Process

Linux

Storage

Linux

Tricks

Linux

Troubleshooting

Linux

Snippets

Bash

Dependency Injection

Golang

Gorocks Framework

Golang

Protobuf

Golang

Snippets

Golang

Troubleshooting

Golang

Composer

PHP

Laravel

PHP

Manual

Python

Configuration

VSCode

Metrics

Prometheus

Quick Start

minikube

Quick Start

Git

Image Pull Stuck

K8s Troubleshooting

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...

troubleshooting
image
k8s

Kubernetes CIDR

K8s Troubleshooting

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...

troubleshooting
sonyflake
sealos
cidr
k8s

kube-state-metrics

K8s Troubleshooting

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:...

kube-state-metrics
troubleshooting
k8s

kubeadm Join Cluster Error

K8s Troubleshooting

背景 在 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...

troubleshooting
kubeadm
k8s

NFS Mount Failed

K8s Troubleshooting

Errors SourceEvents: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedMount 9m39s (x19102 over 26d) kubelet MountVolume.SetUp failed for volume "pvc-510bc02...

troubleshooting
mount
pv
k8s

Rancher PVC Pending

K8s Troubleshooting

因为 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: ...

k8s
troubleshooting
pvc
rancher

Helm Secret Number

K8s Troubleshooting

Rander 会 load 所有版本的 Helm Secret,会卡死,要限制 helm 保留的版本。

troubleshooting
helm
secret
rancher
k8s

Traces Schema

OpenTelemetry Collector

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...

traces
collector
opentelemetry

Concept

OpenTelemetry Manual

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...

manual
opentelemetry

Clickhouse Data Demo

OpenTelemetry Teletrace

HTTP 200 Row 1: ────── Timestamp: 2025-05-27 14:51:23.678999930 TraceId: 3ea85b7f222073a42cd2d37c1c79ec08 SpanId: 24c7fa0f64ae344a ParentSpanId: TraceState: SpanName: ExecuteRequest SpanKind: Internal Servic...

clickhouse
teletrace
opentelemetry

ClickHouse Schema

OpenTelemetry Teletrace

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)), ...

schema
clickhouse
teletrace
opentelemetry

Demo Client

OpenTelemetry Teletrace

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...

client
demo
teletrace
opentelemetry

Demo Server

OpenTelemetry Teletrace

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...

teletrace
server
demo
opentelemetry

Elasticsearch Storage

OpenTelemetry Teletrace

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" : [ ...

es
teletrace
opentelemetry

Go Embed Migration

OpenTelemetry Teletrace

/** * 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...

go
teletrace
opentelemetry
embed

Quick Start

OpenTelemetry Teletrace

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] ...

quick-start
architecture
teletrace
opentelemetry

Database Metrics Doesn't Exist

OpenTelemetry Troubleshooting

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...

troubleshooting
exporter
clickhouse
opentelemetry

OTEL Collector Installaction

OpenTelemetry Troubleshooting

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...

opentelemetry
troubleshooting
installation

Sending Queue Is Full

OpenTelemetry Troubleshooting

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...

queue
installation
opentelemetry

LowCardinality(T)

ClickHouse Data Types

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...

data-types
clickhouse
database