Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 2.16 KB

README.md

File metadata and controls

95 lines (70 loc) · 2.16 KB

OpenTelemetry Receiver/Agent for Linux host

Introduction

We provide this OpenTelemetry Receiver implementation tested with normal Linux hosts.

<style> .center { width: auto; display: table; margin-left: auto; margin-right: auto; } </style>

Status of the Receiver

Receiver type Status JDK required Semantic Conventions
metrics alpha JDK v8+ link

Deployment Information (for end users)

Download the installation package from OJR releases:

wget https://github.com/liurui-software/ojr/releases/download/xxx/ojr-linux-host-xxx.tar

Extract the package to the desired deployment location:

tar vxf ojr-linux-host-xxx.tar
cd ojr-linux-host-xxx

Make sure following configuration files are correct for your environment:

  • config/config.yaml
  • config/logging.properties

Refine configuration file (config/config.yaml) according to your own database.

Run the Receiver/Agent synchronously:

./bin/ojr-linux-host

Or Run the Receiver/Agent asynchronously:

nohup ./bin/ojr-linux-host &

Note: Query the Receiver/Agent

ps -ef | grep ojr | grep -v grep

Note: Stop DataCollector

ps -ef | grep ojr | grep -v grep | awk '{printf " "$2" "}' | xargs kill -9

Build and Run (for developers)

Make sure Java SDK is installed.

java -version

Get the source code from github.com.

git clone https://github.com/liurui-software/ojr.git
cd ojr-xxx

Build with Gradle

./gradlew clean build

Run the Agent with Gradle

./gradlew run

References of configuration parameters

Parameter Scope Description Default Examples
host.system global The logical name of the host system - linux