diff --git a/ENV_VARS.md b/ENV_VARS.md index b6537d0..7c5fd51 100644 --- a/ENV_VARS.md +++ b/ENV_VARS.md @@ -24,3 +24,4 @@ Agents can be configured using environment variables: | HT_DATA_CAPTURE_RPC_BODY_RESPONSE | When `false` it disables the capture for the response in a client/request operation | | HT_DATA_CAPTURE_BODY_MAX_SIZE_BYTES | Maximum size of captured body in bytes. Default should be 131_072 (128 KiB). | | HT_ENABLED | When `false`, disables the agent | +| HT_JAVAAGENT_FILTER_JAR_PATHS | Is the list of path to filter jars, separated by `,` | diff --git a/config.proto b/config.proto index a37a117..602628a 100644 --- a/config.proto +++ b/config.proto @@ -27,6 +27,9 @@ message AgentConfig { // when `false`, disables the agent google.protobuf.BoolValue enabled = 5; + + // javaagent has the configs specific to javaagent + JavaAgent javaagent = 6; } // Reporting covers the options related to the mechanics for sending data to the @@ -95,3 +98,9 @@ enum PropagationFormat { // see https://www.w3.org/TR/trace-context/ TRACECONTEXT = 1; } + +// JavaAgent has the configs specific to javaagent +message JavaAgent { + // filter_jar_paths is the list of path to filter jars, separated by `,` + repeated google.protobuf.StringValue filter_jar_paths = 1; +}