Reduce set of data centers and add some ip addresses

This commit is contained in:
Cedric Ziel
2020-11-02 13:27:29 +01:00
parent 4745f2393c
commit 80082a58c0
7 changed files with 31 additions and 48 deletions

View File

@@ -43,15 +43,11 @@ app.use((req, res, next) => {
app.use((req, res, next) => {
let dcs = [
"asia-northeast2",
"asia-south1",
"europe-west3",
"us-east1",
"us-east2",
"us-east3",
"us-east4",
"us-central1",
"us-west1",
"us-west2",
"eu-west3",
"eu-west4"
"us-west1"
];
let span = instana.currentSpan();
span.annotate('custom.sdk.tags.datacenter', dcs[Math.floor(Math.random() * dcs.length)]);