GoogleCloudPlatform / run-gmp-sidecar

Apache License 2.0
8 stars 7 forks source link

Is there a way to add authentication to the sidecar when calling the scraping endpoint #38

Open JLLLinn opened 4 months ago

JLLLinn commented 4 months ago

Since the /metrics endpoint of the main container is open to public, is there a way to add authentication such as a header with secret in the scraping request, so the main container can throw permission error when the scraping request is not authenticated