Skip to content

isabella232/splunk-otel-collector-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Observability Collector for Kubernetes

o11y-collector-for-kubernetes is a Helm chart that creates a kubernetes daemonset along with other kubernetes objects in a kubernetes cluster to collect the cluster's logs, traces and metrics send them to Signalfx.

Log Collection

The deamonset runs fluentd with the Splunk HEC output plugin to collect logs and send them over Splunk HEC.

It does not only collects logs for applications which are running in the kubernetes cluster, but also the logs for kubernetes itself (i.e. logs from kubelet, apiserver, etc.). It reads logs from both file system with the fluentd tail plugin and systemd journal with fluent-plugin-systemd.

Trace Collection

The deamonset runs OpenTelemetry Collector with the [Splunk SAPM Exporter](https://github.com/splunk/fluent-plugin-splunk-hec) to collect traces and send them to Splunk SignalFx Microservices APM.

Metric Collection

OpenTelemetry Collector also collects kubernetes and host metrics using the following components enabled by default:

The metrics are sent to Splunk SignalFx Infrastructure Monitoring.

Usage

Prerequisites

The following components required to use the helm chart:

How to install

To install o11y-collector in k8s cluster at least three parameters must be provided:

  • signalfx.realm (default us0): SignalFx realm to send telemetry data to.
  • signalfx.accessToken: Your SignalFx org access token.
  • clusterName: arbitrary value that will identify your kubernetes cluster in SignalFx environment.

The project is in active development state. There are no packages released yet. In order to install helm chart you need to clone the repo first and use it locally.

$ git clone [email protected]:signalfx/o11y-collector-for-kubernetes.git
$ cd ./o11y-collector-for-kubernetes
$ helm install my-o11y-collector --set="signalfx.realm=us0,signalfx.accessToken=xxxxxx,clusterName=my-cluster" ./helm-charts/o11y-collector-for-kubernetes

Instead of setting helm values as arguments a yaml file can be provided:

$ helm install my-o11y-collector --values my_values.yaml ./helm-charts/o11y-collector-for-kubernetes

How to uninstall

To uninstall/delete a deployment with name my-o11y-collector:

$ helm delete my-o11y-collector

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The values.yaml lists all supported configurable parameters for this chart, along with detailed explanation. Read through it to understand how to configure this chart.

At the minimum you need to configure the following values.

clusterName: my-k8s-cluster
signalfx:
  accessToken: xxxxxx
  realm: us0

License

See LICENSE.

About

Splunk OpenTelemetry Connector for Kubernetes

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Smarty 71.0%
  • Mustache 29.0%