tricorder-observability / Starship

Starship: next-generation Observability platform built with eBPF+WASM
GNU Affero General Public License v3.0
162 stars 25 forks source link

Create Config for Grafana component and cleanup all caller code #228

Closed nascentcore-eng closed 1 year ago

nascentcore-eng commented 1 year ago

Describe your changes

Previous code uses global variable to store configurations for Grafana component. This PR moved them into a type Config, and passes Config object to Grafana component code. Most of the changes are updating caller code, and fixing tests.

Issue

Test: