From 222d9b5beede4fae6eedc5f53d8525eb01a21318 Mon Sep 17 00:00:00 2001 From: Nathan Slaughter <28688390+nslaughter@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:23:24 -0500 Subject: [PATCH 1/2] Revert "Refactor Lightstep to cloud observability (#24)" This reverts commit 936b64e51ad5e2e6f0972e20b1bc6c62f39c692b. --- azure/README.md | 6 ++--- .../dashboards/overview/main.tf | 10 +++---- .../apimanagement_service/examples/tf/main.tf | 6 ++--- .../compute_disks/dashboards/overview/main.tf | 10 +++---- azure/compute_disks/examples/tf/main.tf | 26 +++++++++---------- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 26 +++++++++---------- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 8 +++--- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../dbformariadb_servers/examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- azure/dbformysql_servers/examples/tf/main.tf | 6 ++--- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 26 +++++++++---------- .../dashboards/overview/main.tf | 10 +++---- .../sql_managedinstances/examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../sql_servers_databases/examples/tf/main.tf | 16 ++++++------ .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 16 ++++++------ .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 2 +- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- .../dashboards/overview/main.tf | 10 +++---- .../dashboards/overview/main.tf | 10 +++---- .../examples/tf/main.tf | 4 +-- collector/arangodb/examples/compose/README.md | 8 +++--- .../ghosttunnel/examples/compose/README.md | 12 ++++----- collector/gitea/examples/compose/README.md | 10 +++---- collector/nats/examples/compose/README.md | 12 ++++----- collector/scylla/examples/compose/README.md | 10 +++---- tools/templates/dashboard.tpl | 8 +++--- 52 files changed, 240 insertions(+), 240 deletions(-) diff --git a/azure/README.md b/azure/README.md index fbf248d..5a30c90 100644 --- a/azure/README.md +++ b/azure/README.md @@ -3,12 +3,12 @@ The OTel Collector has a variety of [third party receivers](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/master/receiver) that provide integration with a wide variety of metric sources. -Please note that not all metrics receivers available for the OpenTelemetry Collector have been tested by Cloud Observability, and there may be bugs or unexpected issues in using these contributed receivers with Cloud Observability metrics. File any issues with the appropriate OpenTelemetry community. +Please note that not all metrics receivers available for the OpenTelemetry Collector have been tested by Lightstep Observability, and there may be bugs or unexpected issues in using these contributed receivers with Lightstep Observability metrics. File any issues with the appropriate OpenTelemetry community. {: .callout} ## Prerequisites for local installation -You must have a Cloud Observability [access token](/docs/create-and-manage-access-tokens) for the project to report metrics to. +You must have a Lightstep Observability [access token](/docs/create-and-manage-access-tokens) for the project to report metrics to. Also you must have Azure account credentials. ## Running the Example @@ -39,7 +39,7 @@ Detailed description of available [Azure metrics per service](https://learn.micr Collector Azure Monitor receiver has to be configured to capture required Azure resources, [configuration description](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/azuremonitorreceiver#configuration). -The following example configuration collects metrics from Azure and send them to Cloud Observability: +The following example configuration collects metrics from Azure and send them to Lightstep Observability: ```yaml receivers: diff --git a/azure/apimanagement_service/dashboards/overview/main.tf b/azure/apimanagement_service/dashboards/overview/main.tf index 56399af..c3bcdc2 100644 --- a/azure/apimanagement_service/dashboards/overview/main.tf +++ b/azure/apimanagement_service/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector API Management Service Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "API Management Service Metrics" + project_name = var.lightstep_project + dashboard_name = "API Management Service Metrics" dashboard_description = "Monitor API Management Service with this metrics overview dashboard." chart { diff --git a/azure/apimanagement_service/examples/tf/main.tf b/azure/apimanagement_service/examples/tf/main.tf index 3389dd7..21d6835 100644 --- a/azure/apimanagement_service/examples/tf/main.tf +++ b/azure/apimanagement_service/examples/tf/main.tf @@ -4,16 +4,16 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-apimgmt" + default = "ex-apimgmt" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } resource "azurerm_api_management" "example" { - name = var.prefix + name = "${var.prefix}" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name publisher_name = "My Company" diff --git a/azure/compute_disks/dashboards/overview/main.tf b/azure/compute_disks/dashboards/overview/main.tf index cd51c08..ca147a6 100644 --- a/azure/compute_disks/dashboards/overview/main.tf +++ b/azure/compute_disks/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Compute Disks Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Compute Disks Metrics" + project_name = var.lightstep_project + dashboard_name = "Compute Disks Metrics" dashboard_description = "Monitor Compute Disks with this metrics overview dashboard." chart { diff --git a/azure/compute_disks/examples/tf/main.tf b/azure/compute_disks/examples/tf/main.tf index d91d960..69931ae 100644 --- a/azure/compute_disks/examples/tf/main.tf +++ b/azure/compute_disks/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-compute-disks" + default = "ex-compute-disks" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -47,9 +47,9 @@ resource "azurerm_network_interface" "primary" { } resource "azurerm_network_interface" "internal" { - name = "${var.prefix}-internal-net" - resource_group_name = azurerm_resource_group.example.name - location = azurerm_resource_group.example.location + name = "${var.prefix}-internal-net" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location ip_configuration { name = "internal" @@ -81,16 +81,16 @@ resource "azurerm_network_interface_security_group_association" "example" { } resource "azurerm_virtual_machine" "vm" { - name = "${var.prefix}-vm1" - location = azurerm_resource_group.example.location - resource_group_name = azurerm_resource_group.example.name - vm_size = "Standard_A1_v2" + name = "${var.prefix}-vm1" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + vm_size = "Standard_A1_v2" network_interface_ids = [ azurerm_network_interface.primary.id, azurerm_network_interface.internal.id ] primary_network_interface_id = azurerm_network_interface.primary.id - + delete_os_disk_on_termination = true storage_image_reference { @@ -101,9 +101,9 @@ resource "azurerm_virtual_machine" "vm" { } storage_os_disk { - caching = "ReadWrite" - name = "osdisk1" - create_option = "FromImage" + caching = "ReadWrite" + name = "osdisk1" + create_option = "FromImage" managed_disk_type = "Standard_LRS" } diff --git a/azure/compute_virtualmachines/dashboards/overview/main.tf b/azure/compute_virtualmachines/dashboards/overview/main.tf index 16705b9..1eb2792 100644 --- a/azure/compute_virtualmachines/dashboards/overview/main.tf +++ b/azure/compute_virtualmachines/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Compute Virtual Machines Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Compute Virtual Machines Metrics" + project_name = var.lightstep_project + dashboard_name = "Compute Virtual Machines Metrics" dashboard_description = "Monitor Compute Virtual Machines with this metrics overview dashboard." chart { diff --git a/azure/compute_virtualmachines/examples/tf/main.tf b/azure/compute_virtualmachines/examples/tf/main.tf index 098abe8..467ada3 100644 --- a/azure/compute_virtualmachines/examples/tf/main.tf +++ b/azure/compute_virtualmachines/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-compute-vm" + default = "ex-compute-vm" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -47,9 +47,9 @@ resource "azurerm_network_interface" "primary" { } resource "azurerm_network_interface" "internal" { - name = "${var.prefix}-internal-net" - resource_group_name = azurerm_resource_group.example.name - location = azurerm_resource_group.example.location + name = "${var.prefix}-internal-net" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location ip_configuration { name = "internal" @@ -81,16 +81,16 @@ resource "azurerm_network_interface_security_group_association" "example" { } resource "azurerm_virtual_machine" "vm" { - name = "${var.prefix}-vm1" - location = azurerm_resource_group.example.location - resource_group_name = azurerm_resource_group.example.name - vm_size = "Standard_A1_v2" + name = "${var.prefix}-vm1" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + vm_size = "Standard_A1_v2" network_interface_ids = [ azurerm_network_interface.primary.id, azurerm_network_interface.internal.id ] primary_network_interface_id = azurerm_network_interface.primary.id - + delete_os_disk_on_termination = true storage_image_reference { @@ -101,9 +101,9 @@ resource "azurerm_virtual_machine" "vm" { } storage_os_disk { - caching = "ReadWrite" - name = "osdisk1" - create_option = "FromImage" + caching = "ReadWrite" + name = "osdisk1" + create_option = "FromImage" managed_disk_type = "Standard_LRS" } diff --git a/azure/containerregistry_registries/dashboards/overview/main.tf b/azure/containerregistry_registries/dashboards/overview/main.tf index dc5c624..339dd32 100644 --- a/azure/containerregistry_registries/dashboards/overview/main.tf +++ b/azure/containerregistry_registries/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Container Registry Registries Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Container Registry Metrics" + project_name = var.lightstep_project + dashboard_name = "Container Registry Metrics" dashboard_description = "Monitor Container Registry with this metrics overview dashboard." chart { diff --git a/azure/containerregistry_registries/examples/tf/main.tf b/azure/containerregistry_registries/examples/tf/main.tf index e0d17b7..aac2234 100644 --- a/azure/containerregistry_registries/examples/tf/main.tf +++ b/azure/containerregistry_registries/examples/tf/main.tf @@ -4,17 +4,17 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exContainerRegistry" + default = "exContainerRegistry" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } resource "azurerm_container_registry" "example" { name = "${var.prefix}registry" - resource_group_name = azurerm_resource_group.example.name - location = azurerm_resource_group.example.location + resource_group_name = "${azurerm_resource_group.example.name}" + location = "${azurerm_resource_group.example.location}" sku = "Standard" } diff --git a/azure/containerservice_managedclusters/dashboards/overview/main.tf b/azure/containerservice_managedclusters/dashboards/overview/main.tf index 6c9deab..8445913 100644 --- a/azure/containerservice_managedclusters/dashboards/overview/main.tf +++ b/azure/containerservice_managedclusters/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Container Service Managed Clusters Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Container Service Managed Clusters Metrics" + project_name = var.lightstep_project + dashboard_name = "Container Service Managed Clusters Metrics" dashboard_description = "Monitor Container Service Managed Clusters with this metrics overview dashboard." chart { diff --git a/azure/containerservice_managedclusters/examples/tf/main.tf b/azure/containerservice_managedclusters/examples/tf/main.tf index ca7af17..b0949a1 100644 --- a/azure/containerservice_managedclusters/examples/tf/main.tf +++ b/azure/containerservice_managedclusters/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-container-cluster" + default = "ex-container-cluster" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/dbformariadb_servers/dashboards/overview/main.tf b/azure/dbformariadb_servers/dashboards/overview/main.tf index a6afca7..1381862 100644 --- a/azure/dbformariadb_servers/dashboards/overview/main.tf +++ b/azure/dbformariadb_servers/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector MariaDB Servers Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "MariaDB Servers Metrics" + project_name = var.lightstep_project + dashboard_name = "MariaDB Servers Metrics" dashboard_description = "Monitor MariaDB Servers with this metrics overview dashboard." chart { diff --git a/azure/dbformariadb_servers/examples/tf/main.tf b/azure/dbformariadb_servers/examples/tf/main.tf index 3797578..f7da5d4 100644 --- a/azure/dbformariadb_servers/examples/tf/main.tf +++ b/azure/dbformariadb_servers/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-maria" + default = "ex-maria" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/dbformysql_flexibleservers/dashboards/overview/main.tf b/azure/dbformysql_flexibleservers/dashboards/overview/main.tf index 10b5191..57437a0 100644 --- a/azure/dbformysql_flexibleservers/dashboards/overview/main.tf +++ b/azure/dbformysql_flexibleservers/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector MySQL Flexible Servers Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "MySQL Flexible Servers Metrics" + project_name = var.lightstep_project + dashboard_name = "MySQL Flexible Servers Metrics" dashboard_description = "Monitor MySQL Flexible Servers with this metrics overview dashboard." chart { diff --git a/azure/dbformysql_flexibleservers/examples/tf/main.tf b/azure/dbformysql_flexibleservers/examples/tf/main.tf index af2ce2e..99bc778 100644 --- a/azure/dbformysql_flexibleservers/examples/tf/main.tf +++ b/azure/dbformysql_flexibleservers/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-mysql-flexible" + default = "ex-mysql-flexible" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/dbformysql_servers/dashboards/overview/main.tf b/azure/dbformysql_servers/dashboards/overview/main.tf index 2f1b4f5..ffe3ed9 100644 --- a/azure/dbformysql_servers/dashboards/overview/main.tf +++ b/azure/dbformysql_servers/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector MySQL Servers Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "MySQL Servers Metrics" + project_name = var.lightstep_project + dashboard_name = "MySQL Servers Metrics" dashboard_description = "Monitor MySQL Servers with this metrics overview dashboard." chart { diff --git a/azure/dbformysql_servers/examples/tf/main.tf b/azure/dbformysql_servers/examples/tf/main.tf index 68466a7..a4993af 100644 --- a/azure/dbformysql_servers/examples/tf/main.tf +++ b/azure/dbformysql_servers/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-mysql-servers" + default = "ex-mysql-servers" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -34,7 +34,7 @@ resource "azurerm_mysql_server" "example" { } resource "azurerm_mysql_database" "example" { - name = var.prefix + name = "${var.prefix}" resource_group_name = azurerm_resource_group.example.name server_name = azurerm_mysql_server.example.name charset = "utf8" diff --git a/azure/dbforpostgresql_flexibleservers/dashboards/overview/main.tf b/azure/dbforpostgresql_flexibleservers/dashboards/overview/main.tf index 8e938a6..875f203 100644 --- a/azure/dbforpostgresql_flexibleservers/dashboards/overview/main.tf +++ b/azure/dbforpostgresql_flexibleservers/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector PostgreSQL Flexible Servers Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "PostgreSQL Flexible Servers Metrics" + project_name = var.lightstep_project + dashboard_name = "PostgreSQL Flexible Servers Metrics" dashboard_description = "Monitor PostgreSQL Flexible Servers with this metrics overview dashboard." chart { diff --git a/azure/dbforpostgresql_flexibleservers/examples/tf/main.tf b/azure/dbforpostgresql_flexibleservers/examples/tf/main.tf index 02acd16..143a34d 100644 --- a/azure/dbforpostgresql_flexibleservers/examples/tf/main.tf +++ b/azure/dbforpostgresql_flexibleservers/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-postgre-flexible" + default = "ex-postgre-flexible" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/dbforpostgresql_servers/dashboards/overview/main.tf b/azure/dbforpostgresql_servers/dashboards/overview/main.tf index 63c355b..2530210 100644 --- a/azure/dbforpostgresql_servers/dashboards/overview/main.tf +++ b/azure/dbforpostgresql_servers/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector PostgreSQL Servers Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "PostgreSQL Servers Metrics" + project_name = var.lightstep_project + dashboard_name = "PostgreSQL Servers Metrics" dashboard_description = "Monitor PostgreSQL Servers with this metrics overview dashboard." chart { diff --git a/azure/dbforpostgresql_servers/examples/tf/main.tf b/azure/dbforpostgresql_servers/examples/tf/main.tf index 1a3305a..1488bb3 100644 --- a/azure/dbforpostgresql_servers/examples/tf/main.tf +++ b/azure/dbforpostgresql_servers/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-postgre-servers" + default = "ex-postgre-servers" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/documentdb_cassandraclusters/dashboards/overview/main.tf b/azure/documentdb_cassandraclusters/dashboards/overview/main.tf index b34ec0d..ae724de 100644 --- a/azure/documentdb_cassandraclusters/dashboards/overview/main.tf +++ b/azure/documentdb_cassandraclusters/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector DocumentDB Cassandra Clusters Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "DocumentDB Cassandra Clusters Metrics" + project_name = var.lightstep_project + dashboard_name = "DocumentDB Cassandra Clusters Metrics" dashboard_description = "[Beta] Monitor DocumentDB Cassandra Clusters with this metrics overview dashboard." chart { diff --git a/azure/documentdb_cassandraclusters/examples/tf/main.tf b/azure/documentdb_cassandraclusters/examples/tf/main.tf index 2807110..f135405 100644 --- a/azure/documentdb_cassandraclusters/examples/tf/main.tf +++ b/azure/documentdb_cassandraclusters/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-docdb-cassandra" + default = "ex-docdb-cassandra" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/documentdb_databaseaccounts/dashboards/overview/main.tf b/azure/documentdb_databaseaccounts/dashboards/overview/main.tf index c15efd8..89ec763 100644 --- a/azure/documentdb_databaseaccounts/dashboards/overview/main.tf +++ b/azure/documentdb_databaseaccounts/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector DocumentDB Database Accounts Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "DocumentDB Database Accounts Metrics" + project_name = var.lightstep_project + dashboard_name = "DocumentDB Database Accounts Metrics" dashboard_description = "Monitor DocumentDB Database Accounts with this metrics overview dashboard." chart { diff --git a/azure/documentdb_databaseaccounts/examples/tf/main.tf b/azure/documentdb_databaseaccounts/examples/tf/main.tf index 7a0dc5a..41a7443 100644 --- a/azure/documentdb_databaseaccounts/examples/tf/main.tf +++ b/azure/documentdb_databaseaccounts/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-cosmosdb" + default = "ex-cosmosdb" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/network_networkinterfaces/dashboards/overview/main.tf b/azure/network_networkinterfaces/dashboards/overview/main.tf index 2d5f266..b1e899e 100644 --- a/azure/network_networkinterfaces/dashboards/overview/main.tf +++ b/azure/network_networkinterfaces/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Network Interfaces Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Network Interfaces Metrics" + project_name = var.lightstep_project + dashboard_name = "Network Interfaces Metrics" dashboard_description = "Monitor Network Interfaces with this metrics overview dashboard." chart { diff --git a/azure/network_networkinterfaces/examples/tf/main.tf b/azure/network_networkinterfaces/examples/tf/main.tf index a412ad0..9f5fdfa 100644 --- a/azure/network_networkinterfaces/examples/tf/main.tf +++ b/azure/network_networkinterfaces/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-network-ni" + default = "ex-network-ni" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -47,9 +47,9 @@ resource "azurerm_network_interface" "primary" { } resource "azurerm_network_interface" "internal" { - name = "${var.prefix}-internal-net" - resource_group_name = azurerm_resource_group.example.name - location = azurerm_resource_group.example.location + name = "${var.prefix}-internal-net" + resource_group_name = azurerm_resource_group.example.name + location = azurerm_resource_group.example.location ip_configuration { name = "internal" @@ -81,16 +81,16 @@ resource "azurerm_network_interface_security_group_association" "example" { } resource "azurerm_virtual_machine" "vm" { - name = "${var.prefix}-vm1" - location = azurerm_resource_group.example.location - resource_group_name = azurerm_resource_group.example.name - vm_size = "Standard_A1_v2" + name = "${var.prefix}-vm1" + location = azurerm_resource_group.example.location + resource_group_name = azurerm_resource_group.example.name + vm_size = "Standard_A1_v2" network_interface_ids = [ azurerm_network_interface.primary.id, azurerm_network_interface.internal.id ] primary_network_interface_id = azurerm_network_interface.primary.id - + delete_os_disk_on_termination = true storage_image_reference { @@ -101,9 +101,9 @@ resource "azurerm_virtual_machine" "vm" { } storage_os_disk { - caching = "ReadWrite" - name = "osdisk1" - create_option = "FromImage" + caching = "ReadWrite" + name = "osdisk1" + create_option = "FromImage" managed_disk_type = "Standard_LRS" } diff --git a/azure/sql_managedinstances/dashboards/overview/main.tf b/azure/sql_managedinstances/dashboards/overview/main.tf index 3bdbe87..169ce33 100644 --- a/azure/sql_managedinstances/dashboards/overview/main.tf +++ b/azure/sql_managedinstances/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector SQL Managed Instances Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "SQL Managed Instances Metrics" + project_name = var.lightstep_project + dashboard_name = "SQL Managed Instances Metrics" dashboard_description = "[Beta] Monitor SQL Managed Instances with this metrics overview dashboard." chart { diff --git a/azure/sql_managedinstances/examples/tf/main.tf b/azure/sql_managedinstances/examples/tf/main.tf index 3b1cee4..b20b735 100644 --- a/azure/sql_managedinstances/examples/tf/main.tf +++ b/azure/sql_managedinstances/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-sql-mi" + default = "ex-sql-mi" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/sql_servers_databases/dashboards/overview/main.tf b/azure/sql_servers_databases/dashboards/overview/main.tf index d14c897..8c03741 100644 --- a/azure/sql_servers_databases/dashboards/overview/main.tf +++ b/azure/sql_servers_databases/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector SQL Servers Databases Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "SQL Servers Databases Metrics" + project_name = var.lightstep_project + dashboard_name = "SQL Servers Databases Metrics" dashboard_description = "Monitor SQL Servers Databases with this metrics overview dashboard." chart { diff --git a/azure/sql_servers_databases/examples/tf/main.tf b/azure/sql_servers_databases/examples/tf/main.tf index 42ffb28..600b473 100644 --- a/azure/sql_servers_databases/examples/tf/main.tf +++ b/azure/sql_servers_databases/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-sql-servers-db" + default = "ex-sql-servers-db" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -30,10 +30,10 @@ resource "azurerm_mssql_server" "example" { } resource "azurerm_mssql_database" "example" { - name = "${var.prefix}-db" - server_id = azurerm_mssql_server.example.id - collation = "SQL_Latin1_General_CP1_CI_AS" - license_type = "LicenseIncluded" - max_size_gb = 2 - sku_name = "S0" + name = "${var.prefix}-db" + server_id = azurerm_mssql_server.example.id + collation = "SQL_Latin1_General_CP1_CI_AS" + license_type = "LicenseIncluded" + max_size_gb = 2 + sku_name = "S0" } diff --git a/azure/sql_servers_elasticpools/dashboards/overview/main.tf b/azure/sql_servers_elasticpools/dashboards/overview/main.tf index 1c5f2bf..f06f5c4 100644 --- a/azure/sql_servers_elasticpools/dashboards/overview/main.tf +++ b/azure/sql_servers_elasticpools/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Sql_servers_elasticpools Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "SQL Servers Elastic Pools Metrics" + project_name = var.lightstep_project + dashboard_name = "SQL Servers Elastic Pools Metrics" dashboard_description = "Monitor SQL Servers Elastic Pools with this metrics overview dashboard." chart { diff --git a/azure/sql_servers_elasticpools/examples/tf/main.tf b/azure/sql_servers_elasticpools/examples/tf/main.tf index 3b2bb51..8df09e0 100644 --- a/azure/sql_servers_elasticpools/examples/tf/main.tf +++ b/azure/sql_servers_elasticpools/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-sql-servers-elastic" + default = "ex-sql-servers-elastic" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/storage_storageaccounts/dashboards/overview/main.tf b/azure/storage_storageaccounts/dashboards/overview/main.tf index 1427a98..26b3ffe 100644 --- a/azure/storage_storageaccounts/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Accounts Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Accounts Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Accounts Metrics" dashboard_description = "Monitor Storage Accounts with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts/examples/tf/main.tf b/azure/storage_storageaccounts/examples/tf/main.tf index b94a82e..49417d3 100644 --- a/azure/storage_storageaccounts/examples/tf/main.tf +++ b/azure/storage_storageaccounts/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "ex-storage-account" + default = "ex-storage-account" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } @@ -30,10 +30,10 @@ resource "azurerm_mssql_server" "example" { } resource "azurerm_mssql_database" "example" { - name = "${var.prefix}-db" - server_id = azurerm_mssql_server.example.id - collation = "SQL_Latin1_General_CP1_CI_AS" - license_type = "LicenseIncluded" - max_size_gb = 2 - sku_name = "S0" + name = "${var.prefix}-db" + server_id = azurerm_mssql_server.example.id + collation = "SQL_Latin1_General_CP1_CI_AS" + license_type = "LicenseIncluded" + max_size_gb = 2 + sku_name = "S0" } diff --git a/azure/storage_storageaccounts_blobservices/dashboards/overview/main.tf b/azure/storage_storageaccounts_blobservices/dashboards/overview/main.tf index 006c0bd..44aaed2 100644 --- a/azure/storage_storageaccounts_blobservices/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_blobservices/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Blob Services Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Blob Services Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Blob Services Metrics" dashboard_description = "Monitor Storage Blob Services with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_blobservices/examples/tf/main.tf b/azure/storage_storageaccounts_blobservices/examples/tf/main.tf index 4339e1a..75f5121 100644 --- a/azure/storage_storageaccounts_blobservices/examples/tf/main.tf +++ b/azure/storage_storageaccounts_blobservices/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exstorageblob" + default = "exstorageblob" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/storage_storageaccounts_fileservices/dashboards/overview/main.tf b/azure/storage_storageaccounts_fileservices/dashboards/overview/main.tf index 0f1680c..1dc1711 100644 --- a/azure/storage_storageaccounts_fileservices/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_fileservices/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage File Services Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage File Services Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage File Services Metrics" dashboard_description = "Monitor Storage File Services with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_fileservices/examples/tf/main.tf b/azure/storage_storageaccounts_fileservices/examples/tf/main.tf index 6a5fd3e..3088330 100644 --- a/azure/storage_storageaccounts_fileservices/examples/tf/main.tf +++ b/azure/storage_storageaccounts_fileservices/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exstoragefile" + default = "exstoragefile" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/storage_storageaccounts_objectreplicationpolicies/dashboards/overview/main.tf b/azure/storage_storageaccounts_objectreplicationpolicies/dashboards/overview/main.tf index 4315a7d..e67ae5d 100644 --- a/azure/storage_storageaccounts_objectreplicationpolicies/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_objectreplicationpolicies/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Object Replication Policies Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Object Replication Policies Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Object Replication Policies Metrics" dashboard_description = "[Beta] Monitor Storage Object Replication Policies with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_objectreplicationpolicies/examples/tf/main.tf b/azure/storage_storageaccounts_objectreplicationpolicies/examples/tf/main.tf index f3c6e61..6b540a9 100644 --- a/azure/storage_storageaccounts_objectreplicationpolicies/examples/tf/main.tf +++ b/azure/storage_storageaccounts_objectreplicationpolicies/examples/tf/main.tf @@ -4,7 +4,7 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exstoragereplica" + default = "exstoragereplica" } resource "azurerm_resource_group" "src" { diff --git a/azure/storage_storageaccounts_queueservices/dashboards/overview/main.tf b/azure/storage_storageaccounts_queueservices/dashboards/overview/main.tf index f88efb8..e5feec2 100644 --- a/azure/storage_storageaccounts_queueservices/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_queueservices/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Queue Services Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Queue Services Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Queue Services Metrics" dashboard_description = "Monitor Storage Queue Services with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_queueservices/examples/tf/main.tf b/azure/storage_storageaccounts_queueservices/examples/tf/main.tf index 5e3fcd8..18ddb32 100644 --- a/azure/storage_storageaccounts_queueservices/examples/tf/main.tf +++ b/azure/storage_storageaccounts_queueservices/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exstoragequeue" + default = "exstoragequeue" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/azure/storage_storageaccounts_storagetasks/dashboards/overview/main.tf b/azure/storage_storageaccounts_storagetasks/dashboards/overview/main.tf index 14bb42d..fb5d69d 100644 --- a/azure/storage_storageaccounts_storagetasks/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_storagetasks/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Tasks Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Tasks Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Tasks Metrics" dashboard_description = "[Beta] Monitor Storage Tasks with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_tableservices/dashboards/overview/main.tf b/azure/storage_storageaccounts_tableservices/dashboards/overview/main.tf index 6d98262..c51eef5 100644 --- a/azure/storage_storageaccounts_tableservices/dashboards/overview/main.tf +++ b/azure/storage_storageaccounts_tableservices/dashboards/overview/main.tf @@ -8,19 +8,19 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Storage Table Services Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project - dashboard_name = "Storage Table Services Metrics" + project_name = var.lightstep_project + dashboard_name = "Storage Table Services Metrics" dashboard_description = "Monitor Storage Table Services with this metrics overview dashboard." chart { diff --git a/azure/storage_storageaccounts_tableservices/examples/tf/main.tf b/azure/storage_storageaccounts_tableservices/examples/tf/main.tf index b60b3d0..031418f 100644 --- a/azure/storage_storageaccounts_tableservices/examples/tf/main.tf +++ b/azure/storage_storageaccounts_tableservices/examples/tf/main.tf @@ -4,11 +4,11 @@ provider "azurerm" { variable "prefix" { description = "A prefix used for all resources in this example" - default = "exstoragetable" + default = "exstoragetable" } resource "azurerm_resource_group" "example" { - name = var.prefix + name = "${var.prefix}" location = "East US" } diff --git a/collector/arangodb/examples/compose/README.md b/collector/arangodb/examples/compose/README.md index da053ac..12c2de8 100644 --- a/collector/arangodb/examples/compose/README.md +++ b/collector/arangodb/examples/compose/README.md @@ -2,17 +2,17 @@ ## Overview - Name: natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Name: and the Collector to send metrics to Cloud Observability. + Name: natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Name: and the Collector to send metrics to Lightstep Observability. ## Prerequisites * Docker * Docker Compose -* A Cloud Observability [access token][ls-docs-access-token] +* A Lightstep Observability [access token][ls-docs-access-token] ## How to run the example -* Export your Cloud Observability access token +* Export your Lightstep access token ```sh export LS_ACCESS_TOKEN= @@ -24,7 +24,7 @@ docker-compose up -d ``` -### Explore Metrics in Cloud Observability +### Explore Metrics in Lightstep See the [Name: Telemetry Docs][arangodb-docs-telemetry] for comprehensive documentation on metrics emitted and the [dashboard documentation][ls-docs-dashboards] for more details. diff --git a/collector/ghosttunnel/examples/compose/README.md b/collector/ghosttunnel/examples/compose/README.md index dd24c70..3cf3931 100644 --- a/collector/ghosttunnel/examples/compose/README.md +++ b/collector/ghosttunnel/examples/compose/README.md @@ -1,19 +1,19 @@ -# Monitor NATS with the OpenTelemetry Collector for Cloud Observability +# Monitor NATS with the OpenTelemetry Collector for Lightstep ## Overview -NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Cloud Observability for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Cloud Observability using the OpenTelemetry Collector. +NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Lightstep for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Lightstep using the OpenTelemetry Collector. ## Prerequisites * Docker * Docker Compose -* A Cloud Observability account -* Cloud Observability [access token][ls-docs-access-token] +* A Lightstep Observability account +* Lightstep Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Cloud Observability access token**: +1. **Export your Lightstep access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ NATS is a simple, secure, and high-performance open source messaging system. To docker-compose up -d ``` 3. **Access the NATS dashboard**: Depending on your setup, typically you can visit a web UI to manage and observe NATS. In our case, you can NATS node 1 dashboard at `http://localhost:8222/`. -4. **Monitor NATS Metrics in Cloud Observability**: After setting things up, NATS metrics should start populating in your Cloud Observability dashboard. +4. **Monitor NATS Metrics in Lightstep**: After setting things up, NATS metrics should start populating in your Lightstep dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/gitea/examples/compose/README.md b/collector/gitea/examples/compose/README.md index 77e55ec..9532d80 100644 --- a/collector/gitea/examples/compose/README.md +++ b/collector/gitea/examples/compose/README.md @@ -2,18 +2,18 @@ ## Overview -Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial for the reliability and efficiency of any Gitea instance. With Gitea's metrics exposure capability and the OpenTelemetry Collector, these metrics can be easily forwarded to Cloud Observability for in-depth analysis and visualization. This README guides you through the process of setting up the OpenTelemetry Collector to funnel Gitea's metrics into Cloud Observability. +Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial for the reliability and efficiency of any Gitea instance. With Gitea's metrics exposure capability and the OpenTelemetry Collector, these metrics can be easily forwarded to Lightstep for in-depth analysis and visualization. This README guides you through the process of setting up the OpenTelemetry Collector to funnel Gitea's metrics into Lightstep. ## Prerequisites * Docker * Docker Compose -* A Cloud Observability account -* Cloud Observability [access token][ls-docs-access-token] +* A Lightstep Observability account +* Lightstep Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Cloud Observability access token**: +1. **Export your Lightstep access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial f docker-compose up -d ``` 3. **Access Gitea's web interface**: Visit http://localhost:3000. -4. **Monitor Gitea Metrics in Cloud Observability**: After setting things up, Gitea metrics should start populating in your Cloud Observability dashboard. +4. **Monitor Gitea Metrics in Lightstep**: After setting things up, Gitea metrics should start populating in your Lightstep dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/nats/examples/compose/README.md b/collector/nats/examples/compose/README.md index dd24c70..3cf3931 100644 --- a/collector/nats/examples/compose/README.md +++ b/collector/nats/examples/compose/README.md @@ -1,19 +1,19 @@ -# Monitor NATS with the OpenTelemetry Collector for Cloud Observability +# Monitor NATS with the OpenTelemetry Collector for Lightstep ## Overview -NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Cloud Observability for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Cloud Observability using the OpenTelemetry Collector. +NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Lightstep for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Lightstep using the OpenTelemetry Collector. ## Prerequisites * Docker * Docker Compose -* A Cloud Observability account -* Cloud Observability [access token][ls-docs-access-token] +* A Lightstep Observability account +* Lightstep Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Cloud Observability access token**: +1. **Export your Lightstep access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ NATS is a simple, secure, and high-performance open source messaging system. To docker-compose up -d ``` 3. **Access the NATS dashboard**: Depending on your setup, typically you can visit a web UI to manage and observe NATS. In our case, you can NATS node 1 dashboard at `http://localhost:8222/`. -4. **Monitor NATS Metrics in Cloud Observability**: After setting things up, NATS metrics should start populating in your Cloud Observability dashboard. +4. **Monitor NATS Metrics in Lightstep**: After setting things up, NATS metrics should start populating in your Lightstep dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/scylla/examples/compose/README.md b/collector/scylla/examples/compose/README.md index 79de8b0..bcb1747 100644 --- a/collector/scylla/examples/compose/README.md +++ b/collector/scylla/examples/compose/README.md @@ -2,17 +2,17 @@ ## Overview - Scylla natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Scylla and the Collector to send metrics to Cloud Observability. + Scylla natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Scylla and the Collector to send metrics to Lightstep Observability. ## Prerequisites * Docker * Docker Compose -* A Cloud Observability [access token][ls-docs-access-token] +* A Lightstep Observability [access token][ls-docs-access-token] ## How to run the example -* Export your Cloud Observability access token +* Export your Lightstep access token ```sh export LS_ACCESS_TOKEN= @@ -24,7 +24,7 @@ docker-compose up -d ``` -### Explore Metrics in Cloud Observability +### Explore Metrics in Lightstep See the [Scylla Telemetry Docs][scylla-docs-telemetry] for comprehensive documentation on metrics emitted and the [dashboard documentation][ls-docs-dashboards] for more details. @@ -37,7 +37,7 @@ receivers: prometheus: config: scrape_configs: - - job_name: 'scylladb' + - job_Scylla 'scylladb' scrape_interval: 10s static_configs: - targets: ['localhost:9180'] diff --git a/tools/templates/dashboard.tpl b/tools/templates/dashboard.tpl index b195795..d291179 100644 --- a/tools/templates/dashboard.tpl +++ b/tools/templates/dashboard.tpl @@ -8,18 +8,18 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { - description = "Cloud Observability Project Name" +variable "lightstep_project" { + description = "Lightstep Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector {{ .Name }} Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project + project_name = var.lightstep_project dashboard_name = "{{ .Name }} Metrics" dashboard_description = "Monitor {{ .Name }} with this metrics overview dashboard."{{ range $index, $graph := .Graphs }} From 062cbd4640d0d35afec39d8ab22c9cd1cad6d6c1 Mon Sep 17 00:00:00 2001 From: Nathan Slaughter <28688390+nslaughter@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:39:17 -0500 Subject: [PATCH 2/2] keep rebrand in non Azure --- collector/arangodb/examples/compose/README.md | 8 ++++---- collector/ghosttunnel/examples/compose/README.md | 12 ++++++------ collector/gitea/examples/compose/README.md | 10 +++++----- collector/nats/examples/compose/README.md | 12 ++++++------ collector/scylla/examples/compose/README.md | 10 +++++----- tools/templates/dashboard.tpl | 8 ++++---- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/collector/arangodb/examples/compose/README.md b/collector/arangodb/examples/compose/README.md index 12c2de8..da053ac 100644 --- a/collector/arangodb/examples/compose/README.md +++ b/collector/arangodb/examples/compose/README.md @@ -2,17 +2,17 @@ ## Overview - Name: natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Name: and the Collector to send metrics to Lightstep Observability. + Name: natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Name: and the Collector to send metrics to Cloud Observability. ## Prerequisites * Docker * Docker Compose -* A Lightstep Observability [access token][ls-docs-access-token] +* A Cloud Observability [access token][ls-docs-access-token] ## How to run the example -* Export your Lightstep access token +* Export your Cloud Observability access token ```sh export LS_ACCESS_TOKEN= @@ -24,7 +24,7 @@ docker-compose up -d ``` -### Explore Metrics in Lightstep +### Explore Metrics in Cloud Observability See the [Name: Telemetry Docs][arangodb-docs-telemetry] for comprehensive documentation on metrics emitted and the [dashboard documentation][ls-docs-dashboards] for more details. diff --git a/collector/ghosttunnel/examples/compose/README.md b/collector/ghosttunnel/examples/compose/README.md index 3cf3931..dd24c70 100644 --- a/collector/ghosttunnel/examples/compose/README.md +++ b/collector/ghosttunnel/examples/compose/README.md @@ -1,19 +1,19 @@ -# Monitor NATS with the OpenTelemetry Collector for Lightstep +# Monitor NATS with the OpenTelemetry Collector for Cloud Observability ## Overview -NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Lightstep for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Lightstep using the OpenTelemetry Collector. +NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Cloud Observability for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Cloud Observability using the OpenTelemetry Collector. ## Prerequisites * Docker * Docker Compose -* A Lightstep Observability account -* Lightstep Observability [access token][ls-docs-access-token] +* A Cloud Observability account +* Cloud Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Lightstep access token**: +1. **Export your Cloud Observability access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ NATS is a simple, secure, and high-performance open source messaging system. To docker-compose up -d ``` 3. **Access the NATS dashboard**: Depending on your setup, typically you can visit a web UI to manage and observe NATS. In our case, you can NATS node 1 dashboard at `http://localhost:8222/`. -4. **Monitor NATS Metrics in Lightstep**: After setting things up, NATS metrics should start populating in your Lightstep dashboard. +4. **Monitor NATS Metrics in Cloud Observability**: After setting things up, NATS metrics should start populating in your Cloud Observability dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/gitea/examples/compose/README.md b/collector/gitea/examples/compose/README.md index 9532d80..77e55ec 100644 --- a/collector/gitea/examples/compose/README.md +++ b/collector/gitea/examples/compose/README.md @@ -2,18 +2,18 @@ ## Overview -Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial for the reliability and efficiency of any Gitea instance. With Gitea's metrics exposure capability and the OpenTelemetry Collector, these metrics can be easily forwarded to Lightstep for in-depth analysis and visualization. This README guides you through the process of setting up the OpenTelemetry Collector to funnel Gitea's metrics into Lightstep. +Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial for the reliability and efficiency of any Gitea instance. With Gitea's metrics exposure capability and the OpenTelemetry Collector, these metrics can be easily forwarded to Cloud Observability for in-depth analysis and visualization. This README guides you through the process of setting up the OpenTelemetry Collector to funnel Gitea's metrics into Cloud Observability. ## Prerequisites * Docker * Docker Compose -* A Lightstep Observability account -* Lightstep Observability [access token][ls-docs-access-token] +* A Cloud Observability account +* Cloud Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Lightstep access token**: +1. **Export your Cloud Observability access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ Gitea is a user-friendly self-hosted Git service. Proper monitoring is crucial f docker-compose up -d ``` 3. **Access Gitea's web interface**: Visit http://localhost:3000. -4. **Monitor Gitea Metrics in Lightstep**: After setting things up, Gitea metrics should start populating in your Lightstep dashboard. +4. **Monitor Gitea Metrics in Cloud Observability**: After setting things up, Gitea metrics should start populating in your Cloud Observability dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/nats/examples/compose/README.md b/collector/nats/examples/compose/README.md index 3cf3931..dd24c70 100644 --- a/collector/nats/examples/compose/README.md +++ b/collector/nats/examples/compose/README.md @@ -1,19 +1,19 @@ -# Monitor NATS with the OpenTelemetry Collector for Lightstep +# Monitor NATS with the OpenTelemetry Collector for Cloud Observability ## Overview -NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Lightstep for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Lightstep using the OpenTelemetry Collector. +NATS is a simple, secure, and high-performance open source messaging system. To maintain the reliability and performance of a NATS setup, it's crucial to have real-time monitoring. With the OpenTelemetry Collector, metrics from NATS can be effectively channeled to Cloud Observability for comprehensive analysis and visualization. This README will guide you through integrating NATS metrics with Cloud Observability using the OpenTelemetry Collector. ## Prerequisites * Docker * Docker Compose -* A Lightstep Observability account -* Lightstep Observability [access token][ls-docs-access-token] +* A Cloud Observability account +* Cloud Observability [access token][ls-docs-access-token] ## How to set it up -1. **Export your Lightstep access token**: +1. **Export your Cloud Observability access token**: ```bash export LS_ACCESS_TOKEN= ``` @@ -22,7 +22,7 @@ NATS is a simple, secure, and high-performance open source messaging system. To docker-compose up -d ``` 3. **Access the NATS dashboard**: Depending on your setup, typically you can visit a web UI to manage and observe NATS. In our case, you can NATS node 1 dashboard at `http://localhost:8222/`. -4. **Monitor NATS Metrics in Lightstep**: After setting things up, NATS metrics should start populating in your Lightstep dashboard. +4. **Monitor NATS Metrics in Cloud Observability**: After setting things up, NATS metrics should start populating in your Cloud Observability dashboard. 5. **Shutting down the monitoring setup**: ```bash docker-compose down diff --git a/collector/scylla/examples/compose/README.md b/collector/scylla/examples/compose/README.md index bcb1747..79de8b0 100644 --- a/collector/scylla/examples/compose/README.md +++ b/collector/scylla/examples/compose/README.md @@ -2,17 +2,17 @@ ## Overview - Scylla natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Scylla and the Collector to send metrics to Lightstep Observability. + Scylla natively exposes a Prometheus endpoint and the OpenTelemetry Collector has a [Prometheus receiver][otel-prom-receiver] that can be used to scrape its Prometheus endpoint. This directory contains an example showing how to configure Scylla and the Collector to send metrics to Cloud Observability. ## Prerequisites * Docker * Docker Compose -* A Lightstep Observability [access token][ls-docs-access-token] +* A Cloud Observability [access token][ls-docs-access-token] ## How to run the example -* Export your Lightstep access token +* Export your Cloud Observability access token ```sh export LS_ACCESS_TOKEN= @@ -24,7 +24,7 @@ docker-compose up -d ``` -### Explore Metrics in Lightstep +### Explore Metrics in Cloud Observability See the [Scylla Telemetry Docs][scylla-docs-telemetry] for comprehensive documentation on metrics emitted and the [dashboard documentation][ls-docs-dashboards] for more details. @@ -37,7 +37,7 @@ receivers: prometheus: config: scrape_configs: - - job_Scylla 'scylladb' + - job_name: 'scylladb' scrape_interval: 10s static_configs: - targets: ['localhost:9180'] diff --git a/tools/templates/dashboard.tpl b/tools/templates/dashboard.tpl index d291179..b195795 100644 --- a/tools/templates/dashboard.tpl +++ b/tools/templates/dashboard.tpl @@ -8,18 +8,18 @@ terraform { required_version = ">= v1.0.11" } -variable "lightstep_project" { - description = "Lightstep Project Name" +variable "cloud_observability_project" { + description = "Cloud Observability Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector {{ .Name }} Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.lightstep_project + project_name = var.cloud_observability_project dashboard_name = "{{ .Name }} Metrics" dashboard_description = "Monitor {{ .Name }} with this metrics overview dashboard."{{ range $index, $graph := .Graphs }}