[management] Add custom domain counts and service metrics to self-hosted metrics (#5414)

This commit is contained in:
Maycon Santos
2026-02-24 15:21:14 +01:00
committed by GitHub
parent 327142837c
commit f341d69314
6 changed files with 172 additions and 0 deletions

View File

@@ -272,6 +272,9 @@ type Store interface {
GetAccountAccessLogs(ctx context.Context, lockStrength LockingStrength, accountID string, filter accesslogs.AccessLogFilter) ([]*accesslogs.AccessLogEntry, int64, error)
DeleteOldAccessLogs(ctx context.Context, olderThan time.Time) (int64, error)
GetServiceTargetByTargetID(ctx context.Context, lockStrength LockingStrength, accountID string, targetID string) (*reverseproxy.Target, error)
// GetCustomDomainsCounts returns the total and validated custom domain counts.
GetCustomDomainsCounts(ctx context.Context) (total int64, validated int64, err error)
}
const (