Skip to content

Commit

Permalink
Merge pull request #180 from cloudnativedaysjp/fix/prometheus-stg
Browse files Browse the repository at this point in the history
fix prometheus stg
  • Loading branch information
ureuzy authored Sep 23, 2024
2 parents 3b292af + efc9acb commit 374c5dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion o11y_infra/stg/networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ resource "sakuracloud_packet_filter_rules" "prometheus_rules" {

expression {
protocol = "tcp"
destination_port = "9090"
destination_port = "80"
}

expression {
protocol = "tcp"
destination_port = "443"
}

expression {
Expand Down
2 changes: 1 addition & 1 deletion o11y_infra/stg/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "aws_route53_record" "loki" {

resource "aws_route53_record" "prometheus" {
zone_id = data.aws_route53_zone.cloudnativedays.zone_id
name = "stg.prometheus.sakura.cloudnativedays.jp"
name = "stg.prometheus.cloudnativedays.jp"
type = "A"
ttl = "300"
records = [sakuracloud_server.prometheus.ip_address]
Expand Down

0 comments on commit 374c5dd

Please sign in to comment.