You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to push metrics that requires mutual TLS authentication with client certificates. The current implementation in push.go uses a private HTTP client that can't be customized from outside the package.
This creates a dilemma:
Either modify the global HTTP DefaultTransport (which affects all HTTP clients in the application)
Or create a custom pusher with a custom HTTP client with specific TLS configuration
Question
Has anyone else needed to push metrics to the storage endpoint requiring client certificates or custom TLS configurations? How have you solved this problem?
Potential Solutions
I see a few possible ways to address this:
Add a CustomClient field to the existing PushOptions struct
Create new functions that accept a custom HTTP client
I'd appreciate any guidance on the best approach that aligns with the project's design philosophy before submitting a pull request.
The text was updated successfully, but these errors were encountered:
For handling mTLS authentication, we recommend placing vmauth in front of Victoriametrics and use vmauth for handling mTLS. You can also handle mTLS using a different reverse proxy like Traefik
Problem
I need to push metrics that requires mutual TLS authentication with client certificates. The current implementation in
push.go
uses a private HTTP client that can't be customized from outside the package.This creates a dilemma:
Question
Has anyone else needed to push metrics to the storage endpoint requiring client certificates or custom TLS configurations? How have you solved this problem?
Potential Solutions
I see a few possible ways to address this:
CustomClient
field to the existingPushOptions
structI'd appreciate any guidance on the best approach that aligns with the project's design philosophy before submitting a pull request.
The text was updated successfully, but these errors were encountered: