# f5devcentral/application-study-tool architecture

> Architecture diagram of the GitHub repository f5devcentral/application-study-tool, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/f5devcentral/application-study-tool
- Repository: https://github.com/f5devcentral/application-study-tool

## Overview

The F5 Application Study Tool provides BIG-IP telemetry and device/fleet dashboards. Users configure defaults, per-device receivers, and credentials, then run the configuration helper to generate OpenTelemetry Collector receiver and pipeline files. The Collector fetches metrics from BIG-IP over iControl REST; Prometheus stores the time series and Grafana presents preconfigured dashboards. The README establishes these product relationships, while sampled source details the helper’s transformation and output behavior. Collector internals and service wiring were not sampled, so their finer-grained relationships are not inferred.

Main entry points: [`src/config_helper.py`](https://github.com/f5devcentral/application-study-tool/blob/main/src/config_helper.py) (Config generator), [`services/otel_collector`](https://github.com/f5devcentral/application-study-tool/tree/main/services/otel_collector) (OpenTelemetry Collector), [`services/prometheus`](https://github.com/f5devcentral/application-study-tool/tree/main/services/prometheus) (Prometheus), [`services/grafana`](https://github.com/f5devcentral/application-study-tool/tree/main/services/grafana) (Grafana)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_configuration["Configuration"]
  node_defaults["Device defaults<br/>[ast_defaults.yaml]"]
  node_device_config["BIG-IP receivers"]
  node_credentials["Device secrets"]
  node_config_helper["Config generator<br/>[config_helper.py]"]
  node_collector_receivers["Receiver config<br/>[receivers.yaml]"]
  node_collector_pipelines["Pipeline config<br/>[pipelines.yaml]"]
end

subgraph group_collection["Telemetry collection"]
  node_otel_collector["OpenTelemetry Collector"]
  node_receiver_definitions["BIG-IP receivers<br/>[receivers.yaml]"]
  node_pipeline_definitions["Collector pipelines<br/>[pipelines.yaml]"]
end

subgraph group_observability["Metrics and dashboards"]
  node_prometheus_config["Prometheus config<br/>[prometheus.yml]"]
  node_prometheus[("Prometheus")]
  node_grafana["Grafana"]
  node_dashboards["Dashboards"]
end

node_operator(("Operator"))
node_bigip["BIG-IP devices"]

node_operator -->|"configures defaults"| node_defaults
node_operator -->|"configures devices"| node_device_config
node_operator -->|"provides secrets"| node_credentials
node_defaults -->|"supplies defaults"| node_config_helper
node_device_config -->|"supplies devices"| node_config_helper
node_config_helper -->|"writes receivers"| node_collector_receivers
node_config_helper -->|"writes pipelines"| node_collector_pipelines
node_collector_receivers -->|"defines receivers"| node_receiver_definitions
node_collector_pipelines -->|"defines pipelines"| node_pipeline_definitions
node_bigip -->|"provides metrics"| node_otel_collector
node_otel_collector -->|"fetches via iControl REST"| node_bigip
node_otel_collector -->|"exports metrics"| node_prometheus
node_prometheus_config -.->|"configures storage"| node_prometheus
node_prometheus -.->|"serves time series"| node_grafana
node_dashboards -->|"provisions dashboards"| node_grafana
node_grafana -->|"presents insights"| node_operator

click node_defaults "https://github.com/f5devcentral/application-study-tool/blob/main/config/ast_defaults.yaml"
click node_device_config "https://github.com/f5devcentral/application-study-tool/blob/main/config/bigip_receivers.yaml"
click node_credentials "https://github.com/f5devcentral/application-study-tool/blob/main/.env.device-secrets-example"
click node_config_helper "https://github.com/f5devcentral/application-study-tool/blob/main/src/config_helper.py"
click node_collector_receivers "https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/receivers.yaml"
click node_collector_pipelines "https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/pipelines.yaml"
click node_otel_collector "https://github.com/f5devcentral/application-study-tool/tree/main/services/otel_collector"
click node_receiver_definitions "https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/receivers.yaml"
click node_pipeline_definitions "https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/pipelines.yaml"
click node_prometheus_config "https://github.com/f5devcentral/application-study-tool/blob/main/services/prometheus/prometheus.yml"
click node_prometheus "https://github.com/f5devcentral/application-study-tool/tree/main/services/prometheus"
click node_grafana "https://github.com/f5devcentral/application-study-tool/tree/main/services/grafana"
click node_dashboards "https://github.com/f5devcentral/application-study-tool/tree/main/services/grafana/provisioning/dashboards"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_defaults,node_device_config,node_credentials,node_config_helper,node_collector_receivers,node_collector_pipelines toneBlue
class node_otel_collector,node_receiver_definitions,node_pipeline_definitions toneAmber
class node_prometheus_config,node_prometheus,node_grafana,node_dashboards toneMint
class node_operator,node_bigip toneIndigo
```

## Components

### Configuration

- [Device defaults](https://github.com/f5devcentral/application-study-tool/blob/main/config/ast_defaults.yaml): `config/ast_defaults.yaml`
- [BIG-IP receivers](https://github.com/f5devcentral/application-study-tool/blob/main/config/bigip_receivers.yaml): `config/bigip_receivers.yaml`
- [Device secrets](https://github.com/f5devcentral/application-study-tool/blob/main/.env.device-secrets-example): `.env.device-secrets-example`
- [Config generator](https://github.com/f5devcentral/application-study-tool/blob/main/src/config_helper.py): `src/config_helper.py`
- [Receiver config](https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/receivers.yaml): `services/otel_collector/receivers.yaml`
- [Pipeline config](https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/pipelines.yaml): `services/otel_collector/pipelines.yaml`

### Telemetry collection

- [OpenTelemetry Collector](https://github.com/f5devcentral/application-study-tool/tree/main/services/otel_collector): `services/otel_collector`
- [BIG-IP receivers](https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/receivers.yaml): `services/otel_collector/receivers.yaml`
- [Collector pipelines](https://github.com/f5devcentral/application-study-tool/blob/main/services/otel_collector/pipelines.yaml): `services/otel_collector/pipelines.yaml`

### Metrics and dashboards

- [Prometheus config](https://github.com/f5devcentral/application-study-tool/blob/main/services/prometheus/prometheus.yml): `services/prometheus/prometheus.yml`
- [Prometheus](https://github.com/f5devcentral/application-study-tool/tree/main/services/prometheus): `services/prometheus`
- [Grafana](https://github.com/f5devcentral/application-study-tool/tree/main/services/grafana): `services/grafana`
- [Dashboards](https://github.com/f5devcentral/application-study-tool/tree/main/services/grafana/provisioning/dashboards): `services/grafana/provisioning/dashboards`

### Other components

- **Operator**
- **BIG-IP devices**

## Connections

- Operator → Device defaults: configures defaults (evidence: `README.md`)
- Operator → BIG-IP receivers: configures devices (evidence: `README.md`)
- Operator → Device secrets: provides secrets (evidence: `README.md`)
- Device defaults → Config generator: supplies defaults (evidence: `src/config_helper.py`)
- BIG-IP receivers → Config generator: supplies devices (evidence: `src/config_helper.py`)
- Config generator → Receiver config: writes receivers (evidence: `src/config_helper.py`)
- Config generator → Pipeline config: writes pipelines (evidence: `src/config_helper.py`)
- Receiver config → BIG-IP receivers: defines receivers (evidence: `README.md`)
- Pipeline config → Collector pipelines: defines pipelines (evidence: `README.md`)
- BIG-IP devices → OpenTelemetry Collector: provides metrics (evidence: `README.md`)
- OpenTelemetry Collector → BIG-IP devices: fetches via iControl REST (evidence: `README.md`)
- OpenTelemetry Collector → Prometheus: exports metrics (evidence: `README.md`)
- Prometheus config → Prometheus: configures storage
- Prometheus → Grafana: serves time series
- Dashboards → Grafana: provisions dashboards (evidence: `README.md`)
- Grafana → Operator: presents insights (evidence: `README.md`)
