Connect to the Nobl9 agent
Reading time: 0 minute(s) (0 words)
See how to get your Nobl9 Terraform provider going.
Having installed and configured your Nobl9 Terraform provider, you can use Terraform to add your Nobl9 agents to connect to data sources and start collecting your metrics data.
note
When creating an agent using Terraform, the resource returns the client_id
and client_secret
.
Hereβs an example of the Terraform configuration for the Nobl9 Prometheus agent:
resource "nobl9_agent" "web-prometheus" {
project = "web-project"
name = "web-prometheus"
source_of = ["Metrics"]
agent_type = "prometheus"
prometheus_config {
url = "http://prometheus.example.com"
}
}
For more information on how to configure Nobl9 agents via the Nobl9 Terraform provider,
check the nobl9_agent
article.
Well done, you know how to add Nobl9 agent using Nobl9 Terraform provider!