I’m trying to write a matching rule for metric emission, that only lets through
inbound. I have the following:
match: (context.reporter.kind == "inbound") && (context.protocol == "http" || context.protocol == "grpc")
I know context.reporter.kind is populated from the attribute manifest, but I receive the following log errors:
* internal: no instances sent 2019-01-11T22:41:02.323778Z error api Report failed:1 error occurred:
and the metrics go through. Is there a syntax for complex bool expressions?