Interface MetricsConfig.TenantRequestCounterConfig
- Enclosing interface:
- MetricsConfig
public static interface MetricsConfig.TenantRequestCounterConfig
-
Method Details
-
enabled
@WithDefault("${stargate.multi-tenancy.enabled}") boolean enabled()- Returns:
- If tenant request counter is enabled.
-
metricName
- Returns:
- The metric name for the counter, defaults to
http.server.requests.counter.
-
tenantTag
- Returns:
- The tag key for tenant-id, defaults to
tenant.
-
errorTag
- Returns:
- The tag key for error flag, defaults to
error.
-
userAgentTag
- Returns:
- The tag key for user-agent flag, defaults to
user_agent.
-
userAgentTagEnabled
@WithDefault("false") boolean userAgentTagEnabled()- Returns:
- If tenant counting metric should include the user agent information.
-
statusTag
- Returns:
- The tag key for HTTP status flag, defaults to
status.
-
statusTagEnabled
@WithDefault("false") boolean statusTagEnabled()- Returns:
- If tenant counting metric should include the HTTP status information.
-