https://github.com/signoz/benchmark
https://github.com/signoz/benchmark
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/signoz/benchmark
- Owner: SigNoz
- License: mit
- Created: 2022-03-09T06:32:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T04:43:42.000Z (over 1 year ago)
- Last Synced: 2025-03-22T01:04:13.148Z (7 months ago)
- Language: Smarty
- Size: 167 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```bash
cd charts/metrics-benchmark
```2. Use `Makefile` to `helm install`:
```bash
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:
```bash
kubectl create ns benchmark
```2. Change directory to `manifests`:
```bash
cd manifests
```3. You can either create `Node-Exporter` as `Deployment` or `DaemonSet`:
```bash
# For Deployment, cd to single-node-exporter
cd single-node-exporter# Alternatively for DaemonSet, cd to multiple-node-exporters
cd multiple-node-exporters
```4. Create `Node-Exporter` resources:
```bash
kubectl apply -n benchmark -f node-exporter/
```5. Create `Otel-Collector` resources:
```bash
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