grafana / alloy-modules

Apache License 2.0
21 stars 11 forks source link

Create Helm Chart from Modules #3

Open bentonam opened 7 months ago

bentonam commented 7 months ago

It would be great to create a helm chart from all of the modules that would automatically create config maps, this way it can be included as a sub chart. Then modules can be imported via configmap / import.string

remote.kubernetes.configmap "agent_mysql_module" {
  namespace = "monitoring"
  name = "agent-mysql-module"
}

import.string "mysql" {
  content = remote.kubernetes.configmap.agent_mysql_module.data["databases-sql-mysql-metrics.river"]
}