summaryrefslogtreecommitdiffstats
path: root/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h')
-rw-r--r--fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h
new file mode 100644
index 00000000..a65a4714
--- /dev/null
+++ b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_resource_labels.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#define ONE_FIELD "[" \
+ "1591649196," \
+ "{" \
+ "\"keyA\": \"valA\"" \
+ "}]"
+
+#define MULTIPLE_FIELDS "[" \
+ "1591649196," \
+ "{" \
+ "\"keyA\": \"valA\"," \
+ "\"keyB\": \"valB\"" \
+ "}]"
+
+#define NESTED_FIELDS "[" \
+ "1591649196," \
+ "{" \
+ "\"toplevel\": " \
+ "{" \
+ "\"keyA\": \"valA\"," \
+ "\"keyB\": \"valB\"" \
+ "}" \
+ "}]"
+
+#define LAYERED_NESTED_FIELDS "[" \
+ "1591649196," \
+ "{" \
+ "\"toplevel\": " \
+ "{" \
+ "\"midlevel\": " \
+ "{" \
+ "\"keyA\": \"valA\"" \
+ "}," \
+ "\"keyB\": \"valB\"" \
+ "}" \
+ "}]"