-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
85 log analytics private ingestion works
- Loading branch information
1 parent
c7aa33f
commit acd1daa
Showing
9 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
Binary file not shown.
1 change: 1 addition & 0 deletions
1
.infracost/terraform_modules/manifest-17ddce81e82ae2cd524941c40532af9a.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Path":"d:\\Projects\\docker-kubernetes-course\\85_prometheus_grafana_private_endpoint","Version":"2.0","Modules":[]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
85_prometheus_grafana_private_endpoint/data_collection_endpoint.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
resource "azurerm_monitor_data_collection_endpoint" "dce" { | ||
resource "azurerm_monitor_data_collection_endpoint" "dce-prometheus" { | ||
name = "dce-prometheus" | ||
resource_group_name = azurerm_resource_group.rg_monitoring.name | ||
location = azurerm_resource_group.rg_monitoring.location | ||
kind = "Linux" | ||
public_network_access_enabled = true # false | ||
public_network_access_enabled = false # true # false | ||
} | ||
|
||
# # # associate to a Data Collection Endpoint | ||
# # resource "azurerm_monitor_data_collection_rule_association" "dce-aks" { | ||
# # target_resource_id = azurerm_kubernetes_cluster.aks.id | ||
# # data_collection_endpoint_id = azurerm_monitor_data_collection_endpoint.dce.id | ||
# # } | ||
# associate to a Data Collection Endpoint | ||
resource "azurerm_monitor_data_collection_rule_association" "dce-aks-prometheus" { | ||
name = "configurationAccessEndpoint" # name is required when data_collection_rule_id is specified. And when data_collection_endpoint_id is specified, the name is populated with configurationAccessEndpoint | ||
target_resource_id = azurerm_kubernetes_cluster.aks.id | ||
data_collection_endpoint_id = azurerm_monitor_data_collection_endpoint.dce-prometheus.id | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
85_prometheus_grafana_private_endpoint/private_endpoint-ampls.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters