add generic metrics for external API#1228
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ondemand create |
|
Hey @aniruddha2000, I'm managing your ondemand environment ond-yak. I've successfully transitioned from phase "preheated" to "provisioning". 👩🌾 Gardener Dashboard How to ConnectRetrieve gardenctl target --garden prd --project 74140853d0 --shoot prow-trust
kubectl ske connect ondemand ond-yakTo connect to the API, you can retrieve the Password from the export BASIC_AUTH_USERNAME=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.username}' | base64 -d)
export BASIC_AUTH_PASSWORD=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.password}' | base64 -d)
export PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.projectID}' | base64 -d)
export SNA_PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.snaProjectID}' | base64 -d)
export SKE_API=https://ske-api.ing.ond-yak.ci.ske.eu01.stackit.cloud
curl -u "$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD" "$SKE_API/v2/projects/$PROJECT_ID/regions/eu01/clusters" |
|
Hey @aniruddha2000, I'm managing your ondemand environment ond-yak. I've successfully transitioned from phase "provisioning" to "provisioned". 👩🌾 Gardener Dashboard How to ConnectRetrieve gardenctl target --garden prd --project 74140853d0 --shoot prow-trust
kubectl ske connect ondemand ond-yakTo connect to the API, you can retrieve the Password from the export BASIC_AUTH_USERNAME=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.username}' | base64 -d)
export BASIC_AUTH_PASSWORD=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.password}' | base64 -d)
export PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.projectID}' | base64 -d)
export SNA_PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.snaProjectID}' | base64 -d)
export SKE_API=https://ske-api.ing.ond-yak.ci.ske.eu01.stackit.cloud
curl -u "$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD" "$SKE_API/v2/projects/$PROJECT_ID/regions/eu01/clusters" |
|
/ondemand create --ske-base-branch=add-generic-metrics |
|
Hey @aniruddha2000, you've asked for an ondemand environment. The OnDemandEnvironment ond-yak has already been assigned to this issue/PR, so I can't allocate another. 🫣 |
|
/ondemand edit --ske-base-branch=add-generic-metrics |
|
Hey @aniruddha2000, I'm managing your ondemand environment ond-yak. I've successfully transitioned from phase "provisioned" to "provisioning". 👩🌾 Gardener Dashboard How to ConnectRetrieve gardenctl target --garden prd --project 74140853d0 --shoot prow-trust
kubectl ske connect ondemand ond-yakTo connect to the API, you can retrieve the Password from the export BASIC_AUTH_USERNAME=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.username}' | base64 -d)
export BASIC_AUTH_PASSWORD=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.password}' | base64 -d)
export PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.projectID}' | base64 -d)
export SNA_PROJECT_ID=$(kubectl get -n ondemand secret ond-yak-credentials -ojsonpath='{.data.snaProjectID}' | base64 -d)
export SKE_API=https://ske-api.ing.ond-yak.ci.ske.eu01.stackit.cloud
curl -u "$BASIC_AUTH_USERNAME:$BASIC_AUTH_PASSWORD" "$SKE_API/v2/projects/$PROJECT_ID/regions/eu01/clusters" |
84946e8 to
276c0f7
Compare
|
/ondemand help |
How to categorize this PR?
/kind enhancement
What this PR does / why we need it:
This PR enables using generic metrics for all the external API (IaaS & Loadbalancer) and also track error code more than 400 unlike 500 previously.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Breaking changes: