diff options
Diffstat (limited to 'fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_labels.h')
-rw-r--r-- | fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_labels.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_labels.h b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_labels.h new file mode 100644 index 00000000..ec3d80b3 --- /dev/null +++ b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_labels.h @@ -0,0 +1,44 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ + +#define DEFAULT_LABELS "[" \ + "1591649196," \ + "{" \ + "\"logging.googleapis.com/labels\": " \ + "{" \ + "\"testA\": \"valA\"," \ + "\"testB\": \"valB\"" \ + "}" \ + "}]" + +#define CUSTOM_LABELS "[" \ + "1591649196," \ + "{" \ + "\"logging.googleapis.com/customlabels\": " \ + "{" \ + "\"testA\": \"valA\"," \ + "\"testB\": \"valB\"" \ + "}" \ + "}]" + +#define DEFAULT_LABELS_K8S_RESOURCE_TYPE "[" \ + "1591649196," \ + "{" \ + "\"logging.googleapis.com/local_resource_id\": \"k8s_container.testnamespace.testpod.testctr\"," \ + "\"logging.googleapis.com/labels\": " \ + "{" \ + "\"testA\": \"valA\"," \ + "\"testB\": \"valB\"" \ + "}" \ + "}]" + +#define CUSTOM_LABELS_K8S_RESOURCE_TYPE "[" \ + "1591649196," \ + "{" \ + "\"logging.googleapis.com/local_resource_id\": \"k8s_container.testnamespace.testpod.testctr\"," \ + "\"logging.googleapis.com/customlabels\": " \ + "{" \ + "\"testA\": \"valA\"," \ + "\"testB\": \"valB\"" \ + "}" \ + "}]" + |