From the course: Mastering Observability with OpenTelemetry

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Setting up the Grafana Collector integration

Setting up the Grafana Collector integration - OpenTelemetry Tutorial

From the course: Mastering Observability with OpenTelemetry

Setting up the Grafana Collector integration

- [Instructor] Next, we are going to connect our application to Grafana. For that, we are going to use their OpenTelemetry Collector data source. So I search for OpenTelemetry in the search bar and select the OpenTelemetry Collector. On the following page, I'm told to install the Collector contrib distribution and we did this already. Next, we have to provide a name for the security token that will be created for us, and I just name it course. And then I click on create token. After that, if you scroll down, Grafana produces a Collector config ready to be used in our Collector. It's not necessary that you understand it line by line. It basically contains all the needed receiver, processor and exporter settings along with a few Grafana-specific extensions. They're all bundled with the contrib distribution, so we don't have to install anything else on our end. All I have to do now is scroll down and click on the link to copy the snippet. Then let's open Visual Studio Code again, and…

Contents