Slackbot
12/09/2022, 3:29 PMPranay
Priytam Pandey
12/10/2022, 4:33 AMPrashant Shahi
12/10/2022, 7:21 AMPrashant Shahi
12/10/2022, 7:25 AMtracegen
to see if you are able to send traces:
To install tracegen
binary:
go install <http://github.com/open-telemetry/opentelemetry-collector-contrib/tracegen@v0.63.0|github.com/open-telemetry/opentelemetry-collector-contrib/tracegen@v0.63.0>
Execute the command below to send sample trace data using `tracegen`:
tracegen -traces 1 -otlp-endpoint <http://otelcollector.dash101.com:80|otelcollector.dash101.com:80> -otlp-insecure
Prashant Shahi
12/10/2022, 7:26 AMSrikanth Chekuri
12/10/2022, 8:04 AMreceivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
max_recv_msg_size_mib: 25
Srikanth Chekuri
12/10/2022, 8:05 AMmax_recv_msg_size_mib: 25
this one specificallySrikanth Chekuri
12/10/2022, 8:15 AMSrikanth Chekuri
12/10/2022, 8:25 AMPriytam Pandey
12/10/2022, 8:32 AMsignoz-otel-collector ClusterIP 172.20.243.65 <none> 14250/TCP,14268/TCP,8888/TCP,4317/TCP,4318/TCP
I believe port 4317 is grpc right ?
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: GRPC
and ingress is annotated with grpc protocalPriytam Pandey
12/10/2022, 8:32 AMPrashant Shahi
12/10/2022, 8:42 AMPriytam Pandey
12/10/2022, 8:45 AMPrashant Shahi
12/10/2022, 9:01 AMingressClassName: nginx
from the ingress.Prashant Shahi
12/10/2022, 9:03 AMPrashant Shahi
12/10/2022, 9:03 AMingressClassName
Prashant Shahi
12/10/2022, 9:05 AMotelCollector:
ingress:
enabled: true
className: nginx
annotations:
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: "GRPC"
....
Priytam Pandey
12/10/2022, 9:06 AMPrashant Shahi
12/10/2022, 9:06 AM80
next to address.Priytam Pandey
12/10/2022, 9:07 AMPrashant Shahi
12/10/2022, 9:07 AMhttp
or https
prefix for GRPC endpoint.Priytam Pandey
12/10/2022, 9:09 AMOTEL_EXPORTER_OTLP_ENDPOINT="otelcollector.****.com:80"
Prashant Shahi
12/10/2022, 9:12 AM<http://otelcollector.dash101.com:80>
Priytam Pandey
12/11/2022, 10:18 AM2022-12-11T15:44:41.421+0530 INFO tracegen@v0.55.0/main.go:80 starting gRPC exporter
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel created {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] original dial target is: "otelcollector.****.com:80" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] parsed dial target is: {Scheme:otelcollector.****.com Authority: Endpoint:80 URL:{Scheme:otelcollector.****.com Opaque:80 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] fallback to scheme "passthrough" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] parsed dial target is: {Scheme:passthrough Authority: Endpoint:otelcollector.****.com:80 URL:{Scheme:passthrough Opaque: User: Host: Path:/otelcollector.*****.com:80 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.428+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel authority set to "otelcollector.****.com:80" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.429+0530 INFO channelz/funcs.go:340 [core][Channel #1] Resolver state updated: {
"Addresses": [
{
"Addr": "otelcollector.****.com:80",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses) {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.429+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel switches to new LB policy "pick_first" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.429+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel created {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.430+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.430+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel picks a new address "otelcollector.***.com:80" to connect {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.430+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {CONNECTING <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:41.430+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.514+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.514+0530 INFO grpclog/component.go:71 [transport]transport: loopyWriter.run returning. connection error: desc = "transport is closing" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.515+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {IDLE <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.515+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.515+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.515+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel picks a new address "otelcollector.***.com:80" to connect {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.516+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {CONNECTING <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.516+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.578+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to READY {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.579+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {READY <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.579+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to READY {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.579+0530 INFO tracegen/config.go:105 generation of traces isn't being throttled
2022-12-11T15:44:42.580+0530 INFO tracegen/worker.go:91 traces generated {"worker": 0, "traces": 1}
2022-12-11T15:44:42.581+0530 INFO tracegen@v0.55.0/main.go:98 stop the batch span processor
2022-12-11T15:44:42.617+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.617+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {IDLE <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.617+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:42.617+0530 INFO grpclog/component.go:71 [transport]transport: loopyWriter.run returning. connection error: desc = "transport is closing" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.143+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.143+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel picks a new address "otelcollector.****.com:80" to connect {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.148+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {CONNECTING <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.148+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to CONNECTING {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.247+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to READY {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.247+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {READY <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.248+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to READY {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.298+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.299+0530 INFO grpclog/component.go:71 [transport]transport: loopyWriter.run returning. connection error: desc = "transport is closing" {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.299+0530 INFO grpclog/component.go:71 [core]pickfirstBalancer: UpdateSubConnState: 0xc000354c30, {IDLE <nil>} {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:48.299+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to IDLE {"system": "grpc", "grpc_log": true}
2022/12/11 15:44:52 context deadline exceeded
2022-12-11T15:44:52.585+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel Connectivity change to SHUTDOWN {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:52.586+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:52.586+0530 INFO channelz/funcs.go:340 [core][Channel #1 SubChannel #2] Subchannel deleted {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:52.586+0530 INFO channelz/funcs.go:340 [core][Channel #1] Channel deleted {"system": "grpc", "grpc_log": true}
2022-12-11T15:44:52.587+0530 INFO tracegen@v0.55.0/main.go:89 stopping the exporter
Priytam Pandey
12/11/2022, 10:19 AMPriytam Pandey
12/11/2022, 10:23 AMPriytam Pandey
12/11/2022, 11:56 AMPriytam Pandey
12/12/2022, 4:13 AMPranay
Priytam Pandey
12/13/2022, 11:31 AMuntil wget --user "${CLICKHOUSE_USER}:${CLICKHOUSE_PASSWORD}" --spider -q signoz-clickhouse:8123/ping; do echo -e "waiting for clickhouseDB"; sleep 5; done; echo -e "clickhouse ready, starting otel collector now"
I don't see any svc with that name opened on 8123 port
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
signoz-alertmanager ClusterIP 172.20.246.103 <none> 9093/TCP 15m
signoz-alertmanager-headless ClusterIP None <none> 9093/TCP 15m
signoz-clickhouse-operator-metrics ClusterIP 172.20.50.41 <none> 8888/TCP 15m
signoz-frontend ClusterIP 172.20.247.80 <none> 3301/TCP 15m
signoz-k8s-infra-otel-agent ClusterIP 172.20.178.168 <none> 13133/TCP,8888/TCP,4317/TCP,4318/TCP 15m
signoz-k8s-infra-otel-deployment ClusterIP 172.20.163.26 <none> 13133/TCP,8888/TCP,4317/TCP,4318/TCP 15m
signoz-otel-collector LoadBalancer 172.20.85.211 <deleted> 14250:31331/TCP,14268:30177/TCP,8888:32012/TCP,4317:32618/TCP,4318:31842/TCP 15m
signoz-otel-collector-metrics ClusterIP 172.20.3.174 <none> 13133/TCP 15m
signoz-query-service ClusterIP 172.20.216.22 <none> 8080/TCP,8085/TCP 15m
signoz-zookeeper ClusterIP 172.20.158.0 <none> 2181/TCP,2888/TCP,3888/TCP 15m
signoz-zookeeper-headless ClusterIP None <none> 2181/TCP,2888/TCP,3888/TCP 15m
priytam.pandey@GL1276-X0 ~ %Prashant Shahi
12/13/2022, 12:16 PMkubectl -n platform get pods,chi
Priytam Pandey
12/13/2022, 12:53 PMNAME READY STATUS RESTARTS AGE
pod/signoz-alertmanager-0 0/1 Init:0/1 0 95m
pod/signoz-clickhouse-operator-847fc56977-9jw8v 2/2 Running 0 95m
pod/signoz-frontend-554f685b4c-sk2lq 0/1 Init:0/1 0 95m
pod/signoz-k8s-infra-otel-agent-2k56l 1/1 Running 0 96m
pod/signoz-k8s-infra-otel-agent-m4hbb 1/1 Running 0 96m
pod/signoz-k8s-infra-otel-agent-wr9fc 1/1 Running 0 96m
pod/signoz-k8s-infra-otel-deployment-5c547bcb47-h9ngs 1/1 Running 0 95m
pod/signoz-otel-collector-6b5f9d46c5-8gxz4 0/1 Init:0/1 0 95m
pod/signoz-otel-collector-6b5f9d46c5-kkfk2 0/1 Init:0/1 0 95m
pod/signoz-otel-collector-6b5f9d46c5-rqqn6 0/1 Init:0/1 0 95m
pod/signoz-otel-collector-metrics-9547956d5-98x5z 0/1 Init:0/1 0 95m
pod/signoz-query-service-0 0/1 Init:0/1 0 95m
pod/signoz-zookeeper-0 1/1 Running 0 95m
pod/signoz-zookeeper-1 1/1 Running 0 95m
there is no resource called chi @Prashant ShahiPrashant Shahi
12/13/2022, 2:58 PMhelm uninstall
or removed ClickHouse instances manually?Prashant Shahi
12/13/2022, 2:58 PMhelm upgrade
command with the override-values.yaml
.Priytam Pandey
12/13/2022, 3:00 PMPriytam Pandey
12/13/2022, 3:32 PMPrashant Shahi
12/13/2022, 3:46 PMPrashant Shahi
12/13/2022, 3:46 PMPrashant Shahi
12/13/2022, 3:48 PMPriytam Pandey
12/13/2022, 3:57 PMPranay
Priytam Pandey
12/13/2022, 4:22 PMPriytam Pandey
12/13/2022, 4:24 PMSrikanth Chekuri
12/13/2022, 4:28 PMSrikanth Chekuri
12/13/2022, 4:29 PMPriytam Pandey
12/13/2022, 4:29 PM@Priytam Pandey Not clear what do you mean - can you give an example? Do you mean different group of ppl should see only a particular set of services?
@Pranay yes Pranay exactly same , it will help us giving personalized view to each unit , though I understand the attribute filters on landing page and custom dashboards may helpPriytam Pandey
12/13/2022, 4:32 PMPriytam Pandey
12/14/2022, 2:27 PMPranay
Priytam Pandey
12/16/2022, 8:23 AMSigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.
Powered by