Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
3
plugins/inputs/google_cloud_storage/testdata/file_listing.json
vendored
Normal file
3
plugins/inputs/google_cloud_storage/testdata/file_listing.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"kind": "storage#objects"
|
||||
}
|
16
plugins/inputs/google_cloud_storage/testdata/first_file.json
vendored
Normal file
16
plugins/inputs/google_cloud_storage/testdata/first_file.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"metrics": [
|
||||
{
|
||||
"fields": {
|
||||
"cosine": 10,
|
||||
"sine": -1.0975806427415925e-12
|
||||
},
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"datacenter": "us-east-1",
|
||||
"host": "localhost"
|
||||
},
|
||||
"timestamp": 1604148850991
|
||||
}
|
||||
]
|
||||
}
|
19
plugins/inputs/google_cloud_storage/testdata/first_file_listing.json
vendored
Normal file
19
plugins/inputs/google_cloud_storage/testdata/first_file_listing.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "storage#object",
|
||||
"id": "test-iteration-bucket/prefix/1604148850991/1604148851353983",
|
||||
"selfLink": "https://www.googleapis.com/storage/v1/b/test-iteration-bucket/o/1604148850991",
|
||||
"mediaLink": "https://content-storage.googleapis.com/download/storage/v1/b/test-iteration-bucket/o/1604148850991?generation=1604148851353983&alt=media",
|
||||
"name": "prefix/1604148850991",
|
||||
"bucket": "test-iteration-bucket",
|
||||
"generation": "1604148851353983",
|
||||
"metageneration": "1",
|
||||
"contentType": "text/plain; charset=utf-8",
|
||||
"storageClass": "STANDARD",
|
||||
"size": "161",
|
||||
"md5Hash": "y59iuRCTpkm7wpvU5YHUYw==",
|
||||
"crc32c": "y57reA==",
|
||||
"etag": "CP/SzpPw3uwCEAE=",
|
||||
"timeCreated": "2020-10-31T12:54:11.353Z",
|
||||
"updated": "2020-10-31T12:54:11.353Z",
|
||||
"timeStorageClassUpdated": "2020-10-31T12:54:11.353Z"
|
||||
}
|
16
plugins/inputs/google_cloud_storage/testdata/fourth_file.json
vendored
Normal file
16
plugins/inputs/google_cloud_storage/testdata/fourth_file.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"metrics": [
|
||||
{
|
||||
"fields": {
|
||||
"cosine": 13,
|
||||
"sine": -4.0975806427415925e-12
|
||||
},
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"datacenter": "us-east-1",
|
||||
"host": "localhost"
|
||||
},
|
||||
"timestamp": 1604148850994
|
||||
}
|
||||
]
|
||||
}
|
19
plugins/inputs/google_cloud_storage/testdata/fourth_file_listing.json
vendored
Normal file
19
plugins/inputs/google_cloud_storage/testdata/fourth_file_listing.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "storage#object",
|
||||
"id": "test-iteration-bucket/prefix/1604148850994/1604148851467554",
|
||||
"selfLink": "https://www.googleapis.com/storage/v1/b/test-iteration-bucket/o/1604148850994",
|
||||
"mediaLink": "https://content-storage.googleapis.com/download/storage/v1/b/test-iteration-bucket/o/1604148850994?generation=1604148851467554&alt=media",
|
||||
"name": "prefix/1604148850994",
|
||||
"bucket": "test-iteration-bucket",
|
||||
"generation": "1604148851467554",
|
||||
"metageneration": "1",
|
||||
"contentType": "text/plain; charset=utf-8",
|
||||
"storageClass": "STANDARD",
|
||||
"size": "161",
|
||||
"md5Hash": "y59iuRCTpkm7wpvU5YHUYw==",
|
||||
"crc32c": "y57reA==",
|
||||
"etag": "CKLK1ZPw3uwCEAE=",
|
||||
"timeCreated": "2020-10-31T12:54:11.467Z",
|
||||
"updated": "2020-10-31T12:54:11.467Z",
|
||||
"timeStorageClassUpdated": "2020-10-31T12:54:11.467Z"
|
||||
}
|
16
plugins/inputs/google_cloud_storage/testdata/second_file.json
vendored
Normal file
16
plugins/inputs/google_cloud_storage/testdata/second_file.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"metrics": [
|
||||
{
|
||||
"fields": {
|
||||
"cosine": 11,
|
||||
"sine": -2.0975806427415925e-12
|
||||
},
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"datacenter": "us-east-1",
|
||||
"host": "localhost"
|
||||
},
|
||||
"timestamp": 1604148850992
|
||||
}
|
||||
]
|
||||
}
|
19
plugins/inputs/google_cloud_storage/testdata/second_file_listing.json
vendored
Normal file
19
plugins/inputs/google_cloud_storage/testdata/second_file_listing.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "storage#object",
|
||||
"id": "test-iteration-bucket/prefix/1604148850992/1604148851414237",
|
||||
"selfLink": "https://www.googleapis.com/storage/v1/b/test-iteration-bucket/o/1604148850992",
|
||||
"mediaLink": "https://content-storage.googleapis.com/download/storage/v1/b/test-iteration-bucket/o/1604148850992?generation=1604148851414237&alt=media",
|
||||
"name": "prefix/1604148850992",
|
||||
"bucket": "test-iteration-bucket",
|
||||
"generation": "1604148851414237",
|
||||
"metageneration": "1",
|
||||
"contentType": "text/plain; charset=utf-8",
|
||||
"storageClass": "STANDARD",
|
||||
"size": "161",
|
||||
"md5Hash": "y59iuRCTpkm7wpvU5YHUYw==",
|
||||
"crc32c": "y57reA==",
|
||||
"etag": "CN2p0pPw3uwCEAE=",
|
||||
"timeCreated": "2020-10-31T12:54:11.414Z",
|
||||
"updated": "2020-10-31T12:54:11.414Z",
|
||||
"timeStorageClassUpdated": "2020-10-31T12:54:11.414Z"
|
||||
}
|
24
plugins/inputs/google_cloud_storage/testdata/single_file_list.json
vendored
Normal file
24
plugins/inputs/google_cloud_storage/testdata/single_file_list.json
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"kind": "storage#objects",
|
||||
"items": [
|
||||
{
|
||||
"kind": "storage#object",
|
||||
"id": "test-iteration-bucket/1604148850990/1604148851295698",
|
||||
"selfLink": "https://www.googleapis.com/storage/v1/b/1604148850990/o/1604148850990",
|
||||
"mediaLink": "https://content-storage.googleapis.com/download/storage/v1/b/test-iteration-bucket/o/1604148850990?generation=1604148851295698&alt=media",
|
||||
"name": "1604148850990",
|
||||
"bucket": "test-iteration-bucket",
|
||||
"generation": "1604148851295698",
|
||||
"metageneration": "1",
|
||||
"contentType": "text/plain; charset=utf-8",
|
||||
"storageClass": "STANDARD",
|
||||
"size": "161",
|
||||
"md5Hash": "y59iuRCTpkm7wpvU5YHUYw==",
|
||||
"crc32c": "y57reA==",
|
||||
"etag": "CNKLy5Pw3uwCEAE=",
|
||||
"timeCreated": "2020-10-31T12:54:11.295Z",
|
||||
"updated": "2020-10-31T12:54:11.295Z",
|
||||
"timeStorageClassUpdated": "2020-10-31T12:54:11.295Z"
|
||||
}
|
||||
]
|
||||
}
|
13
plugins/inputs/google_cloud_storage/testdata/single_object_not_found.json
vendored
Normal file
13
plugins/inputs/google_cloud_storage/testdata/single_object_not_found.json
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"error": {
|
||||
"code": 404,
|
||||
"message": "No such object: test-iteration-bucket/prefix/offset-key.json",
|
||||
"errors": [
|
||||
{
|
||||
"message": "No such object: test-iteration-bucket/prefix/offset-key.json",
|
||||
"domain": "global",
|
||||
"reason": "notFound"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
16
plugins/inputs/google_cloud_storage/testdata/third_file.json
vendored
Normal file
16
plugins/inputs/google_cloud_storage/testdata/third_file.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"metrics": [
|
||||
{
|
||||
"fields": {
|
||||
"cosine": 12,
|
||||
"sine": -3.0975806427415925e-12
|
||||
},
|
||||
"name": "cpu",
|
||||
"tags": {
|
||||
"datacenter": "us-east-1",
|
||||
"host": "localhost"
|
||||
},
|
||||
"timestamp": 1604148850993
|
||||
}
|
||||
]
|
||||
}
|
19
plugins/inputs/google_cloud_storage/testdata/third_file_listing.json
vendored
Normal file
19
plugins/inputs/google_cloud_storage/testdata/third_file_listing.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "storage#object",
|
||||
"id": "test-iteration-bucket/prefix/1604148850993/1604148851467554",
|
||||
"selfLink": "https://www.googleapis.com/storage/v1/b/test-iteration-bucket/o/1604148850993",
|
||||
"mediaLink": "https://content-storage.googleapis.com/download/storage/v1/b/test-iteration-bucket/o/1604148850993?generation=1604148851467554&alt=media",
|
||||
"name": "prefix/1604148850993",
|
||||
"bucket": "test-iteration-bucket",
|
||||
"generation": "1604148851467554",
|
||||
"metageneration": "1",
|
||||
"contentType": "text/plain; charset=utf-8",
|
||||
"storageClass": "STANDARD",
|
||||
"size": "161",
|
||||
"md5Hash": "y59iuRCTpkm7wpvU5YHUYw==",
|
||||
"crc32c": "y57reA==",
|
||||
"etag": "CKLK1ZPw3uwCEAE=",
|
||||
"timeCreated": "2020-10-31T12:54:11.467Z",
|
||||
"updated": "2020-10-31T12:54:11.467Z",
|
||||
"timeStorageClassUpdated": "2020-10-31T12:54:11.467Z"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue