Skip to content

Commit

Permalink
Change cloud.provider from googlecloud to gcp (elastic#21775)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng authored Oct 14, 2020
1 parent f28d14d commit de88c55
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix ECS compliance of user.id field in system/users metricset {pull}19019[19019]
- Rename googlecloud stackdriver metricset to metrics. {pull}19718[19718]
- Remove "invalid zero" metrics on Windows and Darwin, don't report linux-only memory and diskio metrics when running under agent. {pull}21457[21457]
- Change cloud.provider from googlecloud to gcp. {pull}21775[21775]
- API address and shard ID are required settings in the Cloud Foundry module. {pull}21759[21759]

*Packetbeat*
Expand Down
21 changes: 15 additions & 6 deletions x-pack/metricbeat/module/googlecloud/metrics/_meta/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
"@timestamp": "2017-10-12T08:05:34.853Z",
"cloud": {
"account": {
"id": "elastic-apm"
"id": "elastic-observability",
"name": "elastic-observability"
},
"instance": {
"id": "8867356942891823986",
"name": "apm-ui-dev"
"id": "2029454349697438698",
"name": "nchaulet-loadtest-elasticsearch"
},
"provider": "googlecloud"
"machine": {
"type": "n1-standard-8"
},
"provider": "gcp"
},
"cloud.availability_zone": "europe-west4-a",
"cloud.availability_zone": "us-central1-a",
"cloud.region": "us-central1",
"event": {
"dataset": "googlecloud.metrics",
"duration": 115000,
Expand All @@ -21,11 +26,15 @@
"metrics": {
"instance": {
"uptime": {
"value": 60
"value": 60.00000000093132
}
}
}
},
"host": {
"id": "2029454349697438698",
"name": "nchaulet-loadtest-elasticsearch"
},
"metricset": {
"name": "metrics",
"period": 10000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (s *StackdriverTimeSeriesMetadataCollector) Metadata(ctx context.Context, i
ECSCloudAccountID: accountID,
ECSCloudAccountName: accountID,
},
ECSCloudProvider: "googlecloud",
ECSCloudProvider: "gcp",
},
}

Expand Down

0 comments on commit de88c55

Please sign in to comment.