Skip to content

Commit

Permalink
add extra remotewrite test for oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
callumau committed Nov 27, 2024
1 parent 85bf9f7 commit ba66b2a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,23 @@ prometheus.remote_write "metrics_test7_azuread_explicit" {
}
}
}

prometheus.remote_write "metrics_test8_azuread_appauth" {
endpoint {
name = "test8_azuread_appauth-1654c7"
url = "http://localhost:9012/api/prom/push"

queue_config { }

metadata_config { }

azuread {
oauth {
client_id = "00000000-0000-0000-0000-000000000000"
client_secret = "fake_client_secret"
tenant_id = "00000000-0000-0000-0000-000000000000"
}
cloud = "AzureGovernment"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@ metrics:
cloud: AzureGovernment
managed_identity:
client_id: 00000000-0000-0000-0000-000000000000
- name: "test8_azuread_appauth"
remote_write:
- url: http://localhost:9012/api/prom/push
azuread:
cloud: AzureGovernment
oauth:
client_id: 00000000-0000-0000-0000-000000000000
client_secret: fake_client_secret
tenant_id: 00000000-0000-0000-0000-000000000000

0 comments on commit ba66b2a

Please sign in to comment.