dokploy_telemetry_provider (Data Source)
Looks up a telemetry provider that already exists in Dokploy (Settings > Logs & Metrics):
data "dokploy_telemetry_provider" "loki" {
name = "loki"
}Dokploy never returns the endpoint, the API key, or the API secret of a provider, so the data source does not expose them.
~> Dokploy does not enforce name uniqueness. If two telemetry providers share a name, this data source fails instead of a guess. Look the record up by id in that case.
Example Usage
data "dokploy_telemetry_provider" "example" {
id = "your-telemetry-provider-id"
}
data "dokploy_telemetry_provider" "loki" {
name = "loki"
}Schema
Optional
id(String) Telemetry provider id. Set it for a lookup by id, or leave it unset and setname.name(String) Display name as shown in Dokploy. Set exactly one ofidorname.
Read-Only
created_at(String) Creation timestamp from the server.enabled(Boolean) Whether the Vector agents send data to the destination.extra_config(Map of String) Fields that only some types use, for exampleregionortenantId.organization_id(String) Id of the organization that owns the provider.provider_type(String) Destination type, for examplelokiordatadog.signals(List of String) Data that the Vector agent sends:logs,metrics, or both.