Skip to content

Commit

Permalink
Merge pull request #138 from ExpediaGroup/feature/waggledance_other_d…
Browse files Browse the repository at this point in the history
…eployments

Feature/waggledance other deployments
  • Loading branch information
DhrubajyotiSadhu authored Feb 22, 2024
2 parents efa0963 + b0d1a36 commit 253761d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

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).

## [4.3.1] - 2024-02-22
### Updated
- Updated eks to use instance name instead of hard coding.

## [4.3.0] - 2024-02-08
### Added
- Variable to add a readonly primary optional host/port. Waggle Dance will redirect get calls automatically to those.
Expand Down
6 changes: 3 additions & 3 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ resource "kubernetes_deployment_v1" "waggle_dance" {
name = local.instance_alias
}
annotations = {
"ad.datadoghq.com/waggledance.check_names" = var.datadog_metrics_enabled ? "[\"openmetrics\"]" : null
"ad.datadoghq.com/waggledance.init_configs" = var.datadog_metrics_enabled ? "[{}]" : null
"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
"ad.datadoghq.com/${local.instance_alias}.check_names" = var.datadog_metrics_enabled ? "[\"openmetrics\"]" : null
"ad.datadoghq.com/${local.instance_alias}.init_configs" = var.datadog_metrics_enabled ? "[{}]" : null
"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
"prometheus.io/scrape" : var.prometheus_enabled
"prometheus.io/port" : local.actuator_port
"prometheus.io/path" : "/actuator/prometheus"
Expand Down

0 comments on commit 253761d

Please sign in to comment.