From b3675a2769269ab19f736677d1b0fcab1f66c3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Fri, 13 Aug 2021 14:56:09 +0200 Subject: [PATCH] feat: adds metadata support for reporting. --- config.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.proto b/config.proto index 26ea794..7428bcb 100644 --- a/config.proto +++ b/config.proto @@ -47,13 +47,17 @@ message Reporting { google.protobuf.BoolValue secure = 2; // user specific token to access Traceable API - google.protobuf.StringValue token = 3; + google.protobuf.StringValue token = 3 [deprecated = true]; // opa describes the setting related to the Open Policy Agent Opa opa = 4; // reporter type for traces. TraceReporterType trace_reporter_type = 5; + + // metadata is a key:value map that is included in the reporting request e.g. + // headers in OTLP reporter or HTTP headers for zipkin. + map metadata = 6; } // Opa covers the options related to the mechanics for getting Open Policy Agent configuration file.