/benchmark

Primary LanguageSmartyMIT LicenseMIT

Benchmark

This repository consists of kubernetes manifests for otel-collector and node-exporter. These manifests can be used to generate time-series data in SigNoz cluster. We can plot graphs in the Dashboard from SigNoz UI.

Using Helm

The metrics-benchmark helm chart uses single Node-Exporter alongside Nginx for cache. It deploys Otel-Collector which scrapes data simulated hosts with unique host labels.

  1. Change directory to charts/metrics-benchmark:
cd charts/metrics-benchmark
  1. Use Makefile to helm install:
make install

*Note: In case of SigNoz cluster running in different cluster, replace my-release-clickhouse.platform.svc.cluster.local in values.yaml with appropriate accessible address.

Example Manifests

We have two types of manifests:

  • Single-Node-Expoter: runs single instance of Node-Exporter and Otel-Collector as Deployment.
  • Multiple-Node-Expoters: runs multiple instance of Node-Exporter as DaemonSet and Otel-Collector as Deployment.
  1. Create benchmark namespace:
kubectl create ns benchmark
  1. Change directory to manifests:
cd manifests
  1. You can either create Node-Exporter as Deployment or DaemonSet:
# For Deployment, cd to single-node-exporter
cd single-node-exporter

# Alternatively for DaemonSet, cd to multiple-node-exporters
cd multiple-node-exporters
  1. Create Node-Exporter resources:
kubectl apply -n benchmark -f node-exporter/
  1. Create Otel-Collector resources:
kubectl apply -n benchmark -f otel-collector/

*Note: In case of SigNoz cluster running in different cluster, replace my-release-clickhouse.platform.svc.cluster.local in otel-collector/config.yaml with appropriate accessible address.

License

MIT License

Copyright (c) 2022 SigNoz