Hello everyone. In the eighth part of the Grafana LGTM Stack course, we will first focus on Grafana Alloy and use its components to receive traces from the application we deployed via OpenTelemetry and send them to the tracing backend, which is Tempo. We will also learn how to add new metadata to the resource attributes of each span using Grafana Alloy components and even how to generate metrics from spans. We will get familiar with the NodeGraph and ServiceGraph, configure them, and see how they help us identify the relationships between services and even the spans of a single trace. In this part, we will also link trace data to logs. Don’t miss this section!
00:00:00 What Happened In The Previous Section
00:01:00 Extra Ports To Expose On The Alloy Container
00:04:43 Alloy ConfigMap And Its Controller Type
00:06:31 Setting-up otelcol.receiver.otlp Alloy Component
00:10:16 Setting-up otelcol.exporter.otlp Alloy Component
00:14:44 Setting-up otelcol.processor.batch Alloy Component
00:19:06 Deploying Alloy-Traces Instance Inside Kubernetes Clsuter
00:20:47 Adding Tempo Datasource To Grafana
00:22:31 Generating Traces And Working With Generated Traces Of Our Demo Application
00:37:05 Setting-up otelcol.processor.k8sattributes Alloy Component
00:44:14 Linking Trace Data with Logs
00:53:35 Forwarding OpenTelemetry Metrics To otelMetrics Tenant Of Mimir Using Alloy
01:00:17 Adding Mimir Datasource With Multi-Tenancy Feature Enabled
01:04:53 Setting-up otelcol.connector.spanmetrics Alloy Component To Generate Metrics From Spans
01:07:19 Setting-up otelcol.connector.servicegraph To Enable ServiceGraph Fetaure
01:13:54 Working With NodeGraph And ServiceGraph Features Of Tempo Inside Grafana
You can find all the resources from here
https://github.com/devopshobbies/grafana_lgtm
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
You can Follow Mohammad from on other platforms:
Linkedin : https://www.linkedin.com/in/mohammad-madanipour-87149bb3
Github: https://github.com/mohammadll
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
You can follow our Channel on other platforms:
Github: https://github.com/devopshobbies
Linkedin: https://www.linkedin.com/company/devopshobbies