Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfkdev/ansible-role-grafana-tempo
Ansible role for Grafana Tempo
https://github.com/lfkdev/ansible-role-grafana-tempo
ansible grafana
Last synced: 9 days ago
JSON representation
Ansible role for Grafana Tempo
- Host: GitHub
- URL: https://github.com/lfkdev/ansible-role-grafana-tempo
- Owner: lfkdev
- License: mit
- Created: 2024-10-10T10:31:29.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T01:21:59.000Z (2 months ago)
- Last Synced: 2024-10-28T05:34:07.338Z (about 2 months ago)
- Topics: ansible, grafana
- Language: Jinja
- Homepage: https://galaxy.ansible.com/lfkdev/grafana_tempo/
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grafana Tempo Role
Installs and configures [Grafana Tempo](https://grafana.com/oss/tempo/).
## Requirements
- Ansible >= 2.9
- Supported platforms:
- Debian family
- RedHat family (not tested)## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):```yaml
tempo_version: "2.6.0"
```
The version of Grafana Tempo to install. If you change this, make sure to update the checksums accordingly.```yaml
tempo_os_arch: "linux_amd64"
```
The operating system and architecture for the Tempo binaries.```yaml
tempo_package_deb: "tempo_{{ tempo_version }}_{{ tempo_os_arch }}.deb"
```
The name of the .deb package file for Tempo.```yaml
tempo_download_url_deb: "https://github.com/grafana/tempo/releases/download/v{{ tempo_version }}/{{ tempo_package_deb }}"
```
The URL from which to download the Tempo package for Debian-based systems.```yaml
tempo_install_dir: "/etc/tempo"
```
The directory where Tempo configuration files will be stored.```yaml
tempo_config_file: "config.yml"
```
The name of the Tempo configuration file.```yaml
tempo_user: "tempo"
```
The system user and group under which Tempo will run.```yaml
tempo_service_name: "tempo"
```
The name of the Tempo service.```yaml
tempo_listening_port: 3200
```
The port on which Tempo will listen for incoming HTTP requests.```yaml
tempo_storage_s3_endpoint: "s3.us-east-1.amazonaws.com"
tempo_storage_s3_bucket: "grafana-traces-data"
tempo_storage_s3_access_key: ""
tempo_storage_s3_secret_key: ""
tempo_storage_s3_insecure: true
```
Configuration for S3-compatible storage backend. Set tempo_storage_s3_insecure to false if the endpoint uses HTTPS.```yaml
tempo_wal_path: "/var/tempo/wal"
tempo_local_path: "/var/tempo/blocks"
```
Paths for the Write-Ahead Log (WAL) and local block storage.```yaml
tempo_block_retention: "48h"
```
The retention period for blocks in the compactor.```yaml
tempo_enable_metrics_generator: true
tempo_external_labels:
- source: "tempo"
- cluster: "linux-microservices"
tempo_remote_write:
- url: "http://localhost:9090/api/v1/write"
send_exemplars: true
tempo_remote_write_url: "http://localhost:9090/api/v1/write"
```
Configuration for enabling the metrics generator, external labels, and remote write endpoints.```yaml
tempo_receivers:
otlp:
protocols:
grpc:
http:
jaeger:
protocols:
thrift_http:
grpc:
thrift_binary:
thrift_compact:
zipkin:
opencensus:
kafka:
```
Configure the receivers that Tempo will use to ingest tracing data.## Example Playbook
```yaml
- hosts: myorg_monitoring
roles:
- role: lfkdev.grafana_tempo
tags:
- tempo
```## License
MIT