Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom OpenTelemetry Processor

This project is an example of a custom OpenTelemetry processor. It demonstrates how to create a custom OpenTelemetry processor in Go and how to integrate it with the OpenTelemetry ecosystem. This processor is intended solely for demonstration purposes.

In src directory, you can find 3 go files:

  • config.go used to specify the processor's configuration parameters
  • factory.go containing the instantiation of the processor
  • processor.go which is the "real" processor code (especially the processTraces method)

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Installation

Clone this repository:

git clone https://github.com/your-username/custom-otel-processor.git
cd custom-otel-processor

Build

To build the collector, use the build task in the Makefile:

make build

Run

To run the collector, use the run task in the Makefile:

make run

The result is an otel-cujprocessor binary available in the dist directory.

Sources

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages