nigel-gott / opentelemetry-collector-builder-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenTelemetry Collector Builder sample

Table of Contents

This repository holds a sample for using the OpenTelemetry Collector Builder configured with components generally useful for GCP deployments.

Table of Contents

Using this repo

This repo is intended to be used as a sample demonstrating the full series of steps required to build and deploy a custom OpenTelemetry Collector with GCP.

There are public Docker images available for running the OpenTelemetry Collector, but these images can be over 40MB in size (and growing) and are packaged with many components which you may not need for your use case.

In contrast, a custom-built collector contains only the components you need, which can drastically shrink its size (down to as small as a few MB) and provide security from extraneous compiled code. This repo focuses on making it easy to build a GCP-specific collector with only those necessary components.

This repo is meant to be cloned, forked, or otherwise used within your own project. Feel free to customize the builder config, collector config, or Cloud Build steps to your needs. This repo provides a Makefile that automates many of the commands needed to interact with these files, which are described below.

Sample Recipes

Building your OpenTelemetry Collector

Deploying your OpenTelemetry Collector

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

About

License:Apache License 2.0


Languages

Language:Makefile 41.1%Language:Dockerfile 23.5%Language:HCL 20.8%Language:Shell 14.5%