test/plugin/constants.rb in fluent-plugin-google-cloud-0.6.23 vs test/plugin/constants.rb in fluent-plugin-google-cloud-0.6.24
- old
+ new
@@ -96,10 +96,18 @@
# Managed VMs specific labels.
MANAGED_VM_BACKEND_NAME = 'default'.freeze
MANAGED_VM_BACKEND_VERSION = 'guestbook2.0'.freeze
+ # LogEntry fields for extraction.
+ TRACE = 'projects/proj1/traces/1234567890abcdef1234567890abcdef'.freeze
+ TRACE2 = 'projects/proj1/traces/1234567890abcdef1234567890fedcba'.freeze
+ SPAN_ID = '000000000000004a'.freeze
+ SPAN_ID2 = '000000000000007e'.freeze
+ INSERT_ID = 'fah7yr7iw64tg857y'.freeze
+ INSERT_ID2 = 'fah7yr7iw64tgaeuf'.freeze
+
# Docker Container labels.
DOCKER_CONTAINER_ID =
'0d0f03ff8d3c42688692536d1af77a28cd135c0a5c531f25a31'.freeze
DOCKER_CONTAINER_NAME = 'happy_hippo'.freeze
DOCKER_CONTAINER_STREAM_STDOUT = 'stdout'.freeze
@@ -344,9 +352,13 @@
trace_key custom_trace_key
).freeze
CONFIG_CUSTOM_SPAN_ID_KEY_SPECIFIED = %(
span_id_key custom_span_id_key
+ ).freeze
+
+ CONFIG_CUSTOM_INSERT_ID_KEY_SPECIFIED = %(
+ insert_id_key custom_insert_id_key
).freeze
# Service configurations for various services.
# GCE.