This plugin allows you to integrate your Traefik Proxy with Treblle seamlessly so you can enjoy:
Treblle
and select Install.Parameter | Type | Description |
---|---|---|
ApiKey | string | Your API key obtained from Treblle. |
ProjectId | string | Your Project ID from Treblle. |
AdditionalFieldsToMask | array | Additional sensitive fields to mask. |
RoutesToBlock | array | Paths to routes that should be hidden. |
RoutesRegex | string | Regex to match and hide specific routes. |
# Static configurationexperimental:plugins:treblle:moduleName: "github.com/Treblle/TreblleTraefikPluginGo"version: "{version-from-github-releases}"# Dynamic configurationhttp:routers:my-router:entryPoints:- httpmiddlewares:- my-pluginservice: service-whoamirule: Host(`localhost`)services:service-whoami:loadBalancer:servers:- url: "http://localhost:8081"passHostHeader: truemiddlewares:my-plugin:plugin:treblle:ApiKey: "your-api-key"ProjectId: "your-project-id"AdditionalFieldsToMask:- "accessToken"- "refreshToken"RoutesToBlock:- "/api/user/login"- "/ping"RoutesRegex: "^/api/projects"