Slackbot
04/05/2022, 6:45 PMAnkit Nayan
Ankit Nayan
Brian Bills
04/05/2022, 7:57 PMBrian Bills
04/05/2022, 8:50 PMPranay
Brian Bills
04/06/2022, 5:03 PMPranay
Brian Bills
04/06/2022, 11:28 PMPranay
Brian Bills
04/06/2022, 11:53 PMdocker run -it -p 8080:8080 -e OTEL_METRICS_EXPORTER=none -e OTEL_EXPORTER_OTLP_ENDPOINT="<http://10.1.130.93:4317>" -e OTEL_RESOURCE_ATTRIBUTES=service.name=cfpb-service,service.namespace=docmagic-dev-torrance -e POD_NAMESPACE=docmagic-dev-torrance cfpb-brian
I could run this again and again and pass a different namespace to open telemetry, but signoz doesn't seem to pick up the difference. As a test, I ran this again on ports 8081:8080 and gave it a different namespace, "`docmagic-qa-torrance` " and signoz didn't show the instance in the metrics dashboard.Brian Bills
04/06/2022, 11:53 PMPranay
Brian Bills
04/07/2022, 12:08 AMBrian Bills
04/07/2022, 12:10 AMBrian Bills
04/07/2022, 12:20 AMdocker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
/signoz/deploy/install.sh
A good feature for your app would be to clean up any remaining traces of itself when you shut it down.Brian Bills
04/07/2022, 12:21 AMBrian Bills
04/07/2022, 12:31 AMUntagged: yandex/clickhouse-server:21.12.3.32
Untagged: yandex/clickhouse-server@sha256:7d58af905fef789288892f1eac0d570ac23ef4c9b326baf684f202ac2894af09
Deleted: sha256:d846490c0466cd43c55d0034dc3e100e95f0e619f5eb2866912e9ce7f2fcc550
Deleted: sha256:ab805998626154211b92e7d53299d57283d7630831caeffdb04728b5209bbdde
Deleted: sha256:d765eeef11ac5d0613dcf1dea8c5def8c3b944202c2675a4d379f3c471d7d9d1
Deleted: sha256:2c80bedcf23ba5f8535cbf301d3e0b702ae6f3ddf479fbd3108cc561849245be
Deleted: sha256:44feb4760a5bce46e020c04aadc35e45fb535e39a997a79927e609a9b32fc629
Deleted: sha256:94317d09d33d38f04bfb96580f45f65615abaae1e5cd7586ec4c071335ca741f
Deleted: sha256:f328700af5a8f2b38476e9ef9cf2eef601a121b6c45e6b3452333bc9d53ace8e
Deleted: sha256:0d9e96dc57e22b4e986cd33ea0c4be572bb8403342246e8727483db5155f3040
Deleted: sha256:9f54eef412758095c8079ac465d494a2872e02e90bf1fb5f12a1641c0d1bb78b
Brian Bills
04/07/2022, 12:34 AMš” Starting the SigNoz containers. It may take a few minutes ...
[+] Running 6/6
ā æ Container clickhouse-setup-clickhouse-1 Started 1.2s
ā æ Container query-service Created 0.1s
ā æ Container clickhouse-setup-otel-collector-1 Created 0.1s
ā æ Container clickhouse-setup-otel-collector-metrics-1 Created 0.1s
ā æ Container frontend Created 0.1s
ā æ Container clickhouse-setup-alertmanager-1 Created
Brian Bills
04/07/2022, 12:46 AMAnkit Nayan
30 minutes
as default and hotrod would have some data in the last 30 mins and hence it was displayed. Choosing a lesser period would not have shown hotrod apps.
Anyways, you got it fixed šBrian Bills
04/07/2022, 4:04 PMBrian Bills
04/07/2022, 4:04 PMBrian Bills
04/07/2022, 4:11 PMBrian Bills
04/07/2022, 4:21 PMBrian Bills
04/07/2022, 4:21 PMBrian Bills
04/08/2022, 4:46 PMdocker run -it -p 8080:8080 -e OTEL_METRICS_EXPORTER=none -e OTEL_EXPORTER_OTLP_ENDPOINT="<http://10.1.130.93:4317>" -e OTEL_RESOURCE_ATTRIBUTES=service.name=cfpb-service,service.namespace=docmagic-dev-torrance -e POD_NAMESPACE=docmagic-dev-torrance cfpb-brian
We passed in a kubernetes variable:
containers:
- env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
and what your documentation says is a namespace variable:
OTEL_RESOURCE_ATTRIBUTES=service.name=cfpb-service,service.namespace=docmagic-dev-torrance
after the comma. Based on one of these "tags" if you will, you could allow the user to customize their perspective, show the user a perspective of all apps within each namespace (<vertical>-<environment>-<site>, essentially the same thing as a context in Kubernetes parlance). The user should be able to see an aggregate view of their entire operationās response times, each namespaceās response times, a particular app cutting across namespaces response times, or any grouping of applications they desire. They should be able to see into the JVM, the heap, see the database calls, the external calls, and they should be able to correlate issues with other external factors.Pranay
Brian Bills
04/08/2022, 5:11 PMPranay
Brian Bills
04/08/2022, 5:45 PM6 prod environments with 74 applications and services
-----------------------------------------------------
444
6 preprod environments with 74 applications and services
--------------------------------------------------------
444
1 dev environment with 74 applications and services
---------------------------------------------------
74
1 qa environment with 74 applications and services
--------------------------------------------------
74
1 stage environment with 74 applications and services
-----------------------------------------------------
74
-----------------------------------------------------
TOTAL: 1,110 (This includes k8s cron jobs, applications, and services.)
Nagios says our total number of services is 8,994.Pranay
Brian Bills
04/11/2022, 8:02 PMBrian Bills
04/11/2022, 8:35 PMBrian Bills
04/11/2022, 8:49 PMBrian Bills
04/11/2022, 8:54 PMBrian Bills
04/15/2022, 8:38 PMPranay
Pranay
Brian Bills
04/15/2022, 11:41 PMBrian Bills
04/19/2022, 8:53 PMPranay
Brian Bills
04/19/2022, 11:14 PMPranay
Brian Bills
04/20/2022, 3:56 PMBrian Bills
04/20/2022, 5:30 PMBrian Bills
04/21/2022, 6:32 PMPranay