Skip to content

Commit 253761d

Browse files
Merge pull request #138 from ExpediaGroup/feature/waggledance_other_deployments
Feature/waggledance other deployments
2 parents efa0963 + b0d1a36 commit 253761d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6+
## [4.3.1] - 2024-02-22
7+
### Updated
8+
- Updated eks to use instance name instead of hard coding.
9+
610
## [4.3.0] - 2024-02-08
711
### Added
812
- Variable to add a readonly primary optional host/port. Waggle Dance will redirect get calls automatically to those.

k8s.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ resource "kubernetes_deployment_v1" "waggle_dance" {
4949
name = local.instance_alias
5050
}
5151
annotations = {
52-
"ad.datadoghq.com/waggledance.check_names" = var.datadog_metrics_enabled ? "[\"openmetrics\"]" : null
53-
"ad.datadoghq.com/waggledance.init_configs" = var.datadog_metrics_enabled ? "[{}]" : null
54-
"ad.datadoghq.com/waggledance.instances" = var.datadog_metrics_enabled ? "[{ \"prometheus_url\": \"http://%%host%%:${var.metrics_port}/actuator/prometheus\", \"namespace\": \"waggledance\", \"metrics\": [ \"${join("\",\"", var.datadog_metrics_waggledance)}\" ] }]" : null
52+
"ad.datadoghq.com/${local.instance_alias}.check_names" = var.datadog_metrics_enabled ? "[\"openmetrics\"]" : null
53+
"ad.datadoghq.com/${local.instance_alias}.init_configs" = var.datadog_metrics_enabled ? "[{}]" : null
54+
"ad.datadoghq.com/${local.instance_alias}.instances" = var.datadog_metrics_enabled ? "[{ \"prometheus_url\": \"http://%%host%%:${var.metrics_port}/actuator/prometheus\", \"namespace\": \"waggledance\", \"metrics\": [ \"${join("\",\"", var.datadog_metrics_waggledance)}\" ] }]" : null
5555
"prometheus.io/scrape" : var.prometheus_enabled
5656
"prometheus.io/port" : local.actuator_port
5757
"prometheus.io/path" : "/actuator/prometheus"

0 commit comments

Comments
 (0)