-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbalena.yml
39 lines (32 loc) · 1.45 KB
/
balena.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: otel-collector-device-prom
type: sw.block
description: >-
OpenTelemetry Collector for device monitoring and logging to a Prometheus/Loki backend
post-provisioning: >-
OpenTelemetry Collector for device monitoring and logging to a Prometheus/Loki backend.
## Getting Started
1. If you don't already have a Prometheus/Loki backend setup, create an account at [Grafana Cloud](https://grafana.com/products/cloud/), and set up a Linux Server integration.
2. Create a docker-compose file with 'otel-collector' and 'node-exporter' service entries, like [this example](https://github.com/balena-io-experimental/otel-collector-device-prom/blob/master/docs/example).
3. Create a fleet in balenaCloud dashboard, and push the service composition to it.
4. Set fleet variables for the 'otel-collector' service for Prometheus and Loki as described in the README.
See the project [README](https://github.com/balena-io-experimental/otel-collector-device-prom#readme) for specifics.
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/balena-io-experimental/otel-collector-device-prom'
logo:
type: blob.asset
data:
url: >-
https://raw.githubusercontent.com/balena-io-experimental/otel-collector-device-prom/master/logo.png
data:
defaultDeviceType: raspberrypi4-64
supportedDeviceTypes:
- raspberrypi4-64
- fincm3
- raspberrypi3
- generic-amd64
- genericx86-64-ext
- intel-nuc
version: 0.2.2