Documentation
¶
Index ¶
- type AcknowledgeAuditOutboxParams
- type AuditFacetParams
- type AuditFacetRow
- type AuditFieldsParams
- type AuditFieldsRow
- type AuditFirstTimeParams
- type AuditFirstTimeRow
- type AuditHistogramParams
- type AuditHistogramRow
- type BackplaneAppAudit
- type BackplaneAppError
- type BackplaneAppErrorBurst
- type BackplaneAppErrorGroup
- type BackplaneAuditClock
- type BackplaneAuditEntry
- type BackplaneAuditOutbox
- type BackplaneConfigCurrent
- type BackplaneConfigRevision
- type BackplaneConsoleLoginAttempt
- type BackplaneConsoleLoginState
- type BackplaneConsoleSession
- type BackplaneInstallation
- type ClaimAuditOutboxParams
- type ClaimAuditOutboxRow
- type CountErrorStoredParams
- type CountExpiredErrorsRow
- type CreateSessionParams
- type CreateSessionRow
- type DBTX
- type DeleteStaleSessionsParams
- type ErrorFacetEnvironmentParams
- type ErrorFacetEnvironmentRow
- type ErrorFacetHandledParams
- type ErrorFacetHandledRow
- type ErrorFacetIngestParams
- type ErrorFacetIngestRow
- type ErrorFacetInstanceParams
- type ErrorFacetInstanceRow
- type ErrorFacetOriginParams
- type ErrorFacetOriginRow
- type ErrorFacetReleaseParams
- type ErrorFacetReleaseRow
- type ErrorFacetServiceParams
- type ErrorFacetServiceRow
- type ErrorFacetTenantParams
- type ErrorFacetTenantRow
- type ErrorFacetTypeParams
- type ErrorFacetTypeRow
- type ErrorGroupTrendsParams
- type ErrorGroupTrendsRow
- type ErrorHistogramParams
- type ErrorHistogramRow
- type ExpireErrorsParams
- type GetAuditClockRow
- type GetAuditEntryRow
- type GetAuditExpiryBoundaryRow
- type GetConfigRevisionParams
- type GetConfigRevisionRow
- type GetCurrentConfigRevisionRow
- type GetErrorGroupParams
- type GetErrorGroupRow
- type GetErrorRow
- type GetInstallationRow
- type GetLoginAttemptRow
- type GetLoginStateRow
- type GetSessionByTokenRow
- type GetSessionRow
- type InsertApplicationAuditParams
- type InsertAuditEntryParams
- type InsertAuditEntryRow
- type InsertConfigRevisionParams
- type InsertConfigRevisionRow
- type InsertErrorParams
- type ListConfigRevisionsParams
- type ListConfigRevisionsRow
- type ListCurrentConfigKvRow
- type ListSessionsRow
- type LockLoginStateRow
- type LoginNowRow
- type NextAuditSequenceRow
- type NextConfigRevisionRow
- type Queries
- func (q *Queries) AcknowledgeAuditOutbox(ctx context.Context, arg AcknowledgeAuditOutboxParams) error
- func (q *Queries) AdvanceAuditRetention(ctx context.Context, throughSequence int64) error
- func (q *Queries) AuditFacet(ctx context.Context, arg AuditFacetParams) ([]AuditFacetRow, error)
- func (q *Queries) AuditFields(ctx context.Context, arg AuditFieldsParams) ([]AuditFieldsRow, error)
- func (q *Queries) AuditFirstTime(ctx context.Context, arg AuditFirstTimeParams) (AuditFirstTimeRow, error)
- func (q *Queries) AuditHistogram(ctx context.Context, arg AuditHistogramParams) ([]AuditHistogramRow, error)
- func (q *Queries) ClaimAuditOutbox(ctx context.Context, arg ClaimAuditOutboxParams) ([]ClaimAuditOutboxRow, error)
- func (q *Queries) CountErrorStored(ctx context.Context, arg CountErrorStoredParams) error
- func (q *Queries) CountExpiredErrors(ctx context.Context, cutoff time.Time) (CountExpiredErrorsRow, error)
- func (q *Queries) CreateAuditClock(ctx context.Context) error
- func (q *Queries) CreateInstallation(ctx context.Context) error
- func (q *Queries) CreateLoginState(ctx context.Context) error
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (CreateSessionRow, error)
- func (q *Queries) DeleteExpiredAuditEntries(ctx context.Context, throughSequence int64) error
- func (q *Queries) DeleteExpiredAuditOutbox(ctx context.Context, throughSequence int64) error
- func (q *Queries) DeleteExpiredLoginAttempts(ctx context.Context) (int64, error)
- func (q *Queries) DeleteOtherSessions(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) DeleteSession(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) DeleteStaleSessions(ctx context.Context, arg DeleteStaleSessionsParams) (int64, error)
- func (q *Queries) ErrorFacetEnvironment(ctx context.Context, arg ErrorFacetEnvironmentParams) ([]ErrorFacetEnvironmentRow, error)
- func (q *Queries) ErrorFacetHandled(ctx context.Context, arg ErrorFacetHandledParams) ([]ErrorFacetHandledRow, error)
- func (q *Queries) ErrorFacetIngest(ctx context.Context, arg ErrorFacetIngestParams) ([]ErrorFacetIngestRow, error)
- func (q *Queries) ErrorFacetInstance(ctx context.Context, arg ErrorFacetInstanceParams) ([]ErrorFacetInstanceRow, error)
- func (q *Queries) ErrorFacetOrigin(ctx context.Context, arg ErrorFacetOriginParams) ([]ErrorFacetOriginRow, error)
- func (q *Queries) ErrorFacetRelease(ctx context.Context, arg ErrorFacetReleaseParams) ([]ErrorFacetReleaseRow, error)
- func (q *Queries) ErrorFacetService(ctx context.Context, arg ErrorFacetServiceParams) ([]ErrorFacetServiceRow, error)
- func (q *Queries) ErrorFacetTenant(ctx context.Context, arg ErrorFacetTenantParams) ([]ErrorFacetTenantRow, error)
- func (q *Queries) ErrorFacetType(ctx context.Context, arg ErrorFacetTypeParams) ([]ErrorFacetTypeRow, error)
- func (q *Queries) ErrorGroupTrends(ctx context.Context, arg ErrorGroupTrendsParams) ([]ErrorGroupTrendsRow, error)
- func (q *Queries) ErrorHistogram(ctx context.Context, arg ErrorHistogramParams) ([]ErrorHistogramRow, error)
- func (q *Queries) ExpireErrorGroups(ctx context.Context, cutoff time.Time) error
- func (q *Queries) ExpireErrors(ctx context.Context, arg ExpireErrorsParams) error
- func (q *Queries) GetAuditClock(ctx context.Context) (GetAuditClockRow, error)
- func (q *Queries) GetAuditEntry(ctx context.Context, sequence int64) (GetAuditEntryRow, error)
- func (q *Queries) GetAuditExpiryBoundary(ctx context.Context, cutoff time.Time) (GetAuditExpiryBoundaryRow, error)
- func (q *Queries) GetConfigRevision(ctx context.Context, arg GetConfigRevisionParams) (GetConfigRevisionRow, error)
- func (q *Queries) GetCurrentConfigRevision(ctx context.Context, service string) (GetCurrentConfigRevisionRow, error)
- func (q *Queries) GetError(ctx context.Context, id uuid.UUID) (GetErrorRow, error)
- func (q *Queries) GetErrorGroup(ctx context.Context, arg GetErrorGroupParams) (GetErrorGroupRow, error)
- func (q *Queries) GetInstallation(ctx context.Context) (GetInstallationRow, error)
- func (q *Queries) GetLoginAttempt(ctx context.Context, address string) (GetLoginAttemptRow, error)
- func (q *Queries) GetLoginState(ctx context.Context) (GetLoginStateRow, error)
- func (q *Queries) GetSession(ctx context.Context, id uuid.UUID) (GetSessionRow, error)
- func (q *Queries) GetSessionByToken(ctx context.Context, tokenHash []byte) (GetSessionByTokenRow, error)
- func (q *Queries) InsertApplicationAudit(ctx context.Context, arg InsertApplicationAuditParams) (int64, error)
- func (q *Queries) InsertAuditEntry(ctx context.Context, arg InsertAuditEntryParams) (InsertAuditEntryRow, error)
- func (q *Queries) InsertAuditOutbox(ctx context.Context, sequence int64) error
- func (q *Queries) InsertConfigRevision(ctx context.Context, arg InsertConfigRevisionParams) (InsertConfigRevisionRow, error)
- func (q *Queries) InsertError(ctx context.Context, arg InsertErrorParams) (int64, error)
- func (q *Queries) ListConfigRevisions(ctx context.Context, arg ListConfigRevisionsParams) ([]ListConfigRevisionsRow, error)
- func (q *Queries) ListCurrentConfigKv(ctx context.Context) ([]ListCurrentConfigKvRow, error)
- func (q *Queries) ListSessions(ctx context.Context) ([]ListSessionsRow, error)
- func (q *Queries) LockAuditClock(ctx context.Context) error
- func (q *Queries) LockLoginState(ctx context.Context) (LockLoginStateRow, error)
- func (q *Queries) LoginNow(ctx context.Context) (LoginNowRow, error)
- func (q *Queries) NextAuditSequence(ctx context.Context) (NextAuditSequenceRow, error)
- func (q *Queries) NextConfigRevision(ctx context.Context, service string) (NextConfigRevisionRow, error)
- func (q *Queries) ResetLoginFailures(ctx context.Context) error
- func (q *Queries) RetryAuditOutbox(ctx context.Context, arg RetryAuditOutboxParams) error
- func (q *Queries) SearchAudit(ctx context.Context, arg SearchAuditParams) ([]SearchAuditRow, error)
- func (q *Queries) SearchErrorGroups(ctx context.Context, arg SearchErrorGroupsParams) ([]SearchErrorGroupsRow, error)
- func (q *Queries) SearchErrors(ctx context.Context, arg SearchErrorsParams) ([]SearchErrorsRow, error)
- func (q *Queries) SetConfigCurrent(ctx context.Context, arg SetConfigCurrentParams) error
- func (q *Queries) SetErrorGroupState(ctx context.Context, arg SetErrorGroupStateParams) (SetErrorGroupStateRow, error)
- func (q *Queries) SetLoginFailure(ctx context.Context, arg SetLoginFailureParams) error
- func (q *Queries) TakeLoginAttempt(ctx context.Context, arg TakeLoginAttemptParams) (TakeLoginAttemptRow, error)
- func (q *Queries) TouchErrorBurst(ctx context.Context, arg TouchErrorBurstParams) (TouchErrorBurstRow, error)
- func (q *Queries) TouchErrorGroup(ctx context.Context, arg TouchErrorGroupParams) error
- func (q *Queries) TouchSession(ctx context.Context, arg TouchSessionParams) error
- func (q *Queries) UncountErrorBurst(ctx context.Context, arg UncountErrorBurstParams) error
- func (q *Queries) UncountErrorDuplicate(ctx context.Context, arg UncountErrorDuplicateParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RetryAuditOutboxParams
- type SearchAuditParams
- type SearchAuditRow
- type SearchErrorGroupsParams
- type SearchErrorGroupsRow
- type SearchErrorsParams
- type SearchErrorsRow
- type SetConfigCurrentParams
- type SetErrorGroupStateParams
- type SetErrorGroupStateRow
- type SetLoginFailureParams
- type TakeLoginAttemptParams
- type TakeLoginAttemptRow
- type TouchErrorBurstParams
- type TouchErrorBurstRow
- type TouchErrorGroupParams
- type TouchSessionParams
- type UncountErrorBurstParams
- type UncountErrorDuplicateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditFacetParams ¶
type AuditFacetParams struct {
TargetField *string
TargetKey *string
StartAt *time.Time
EndAt *time.Time
Sources []string
Services []string
Actions []string
Actors []string
Subjects []string
Outcomes []string
Operations []string
Severities []string
TraceIds []string
AttributesMust *json.RawMessage
Text *string
Conditions *json.RawMessage
LimitValues int64
}
type AuditFacetRow ¶
type AuditFacetRow struct {
Value json.RawMessage
Count int64
Total *int64
}
type AuditFieldsParams ¶
type AuditFieldsParams struct {
StartAt *time.Time
EndAt *time.Time
Sources []string
Services []string
Actions []string
Actors []string
Subjects []string
Outcomes []string
Operations []string
Severities []string
TraceIds []string
AttributesMust *json.RawMessage
Text *string
Conditions *json.RawMessage
LimitFields int64
}
type AuditFieldsRow ¶
type AuditFirstTimeParams ¶
type AuditFirstTimeParams struct {
StartAt *time.Time
EndAt *time.Time
Sources []string
Services []string
Actions []string
Actors []string
Subjects []string
Outcomes []string
Operations []string
Severities []string
TraceIds []string
AttributesMust *json.RawMessage
Text *string
Conditions *json.RawMessage
}
type AuditFirstTimeRow ¶
type AuditHistogramParams ¶
type AuditHistogramParams struct {
StepSeconds float64
Origin time.Time
StartAt *time.Time
EndAt *time.Time
Sources []string
Services []string
Actions []string
Actors []string
Subjects []string
Outcomes []string
Operations []string
Severities []string
TraceIds []string
AttributesMust *json.RawMessage
Text *string
Conditions *json.RawMessage
}
type AuditHistogramRow ¶
type BackplaneAppAudit ¶
type BackplaneAppError ¶ added in v0.4.0
type BackplaneAppError struct {
ID uuid.UUID
Key []byte
Fingerprint []byte
Service string
Time time.Time
ReceivedAt time.Time
Environment string
Release string
Instance string
Tenant string
Origin string
Ingest string
EventID string
Type string
Message string
Stacktrace string
Severity int32
SeverityText string
EventName string
Mechanism string
Handled *bool
GroupKey string
TraceID string
SpanID string
RuntimeID string
Scope string
Body json.RawMessage
Attributes json.RawMessage
Resource json.RawMessage
Truncated bool
}
type BackplaneAppErrorBurst ¶ added in v0.6.81
type BackplaneAppErrorGroup ¶ added in v0.4.0
type BackplaneAuditClock ¶
type BackplaneAuditEntry ¶
type BackplaneAuditOutbox ¶
type BackplaneConfigCurrent ¶
type BackplaneConfigRevision ¶
type BackplaneConsoleSession ¶
type BackplaneInstallation ¶
type ClaimAuditOutboxParams ¶
type ClaimAuditOutboxRow ¶
type CountErrorStoredParams ¶ added in v0.4.0
type CountExpiredErrorsRow ¶ added in v0.4.0
type CountExpiredErrorsRow struct {
Count int64
}
type CreateSessionParams ¶
type CreateSessionRow ¶
type ErrorFacetEnvironmentParams ¶ added in v0.4.0
type ErrorFacetEnvironmentParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetEnvironmentRow ¶ added in v0.4.0
type ErrorFacetHandledParams ¶ added in v0.4.0
type ErrorFacetHandledParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetHandledRow ¶ added in v0.4.0
type ErrorFacetIngestParams ¶ added in v0.4.0
type ErrorFacetIngestParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetIngestRow ¶ added in v0.4.0
type ErrorFacetInstanceParams ¶ added in v0.4.0
type ErrorFacetInstanceParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetInstanceRow ¶ added in v0.4.0
type ErrorFacetOriginParams ¶ added in v0.4.0
type ErrorFacetOriginParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetOriginRow ¶ added in v0.4.0
type ErrorFacetReleaseParams ¶ added in v0.4.0
type ErrorFacetReleaseParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetReleaseRow ¶ added in v0.4.0
type ErrorFacetServiceParams ¶ added in v0.4.0
type ErrorFacetServiceParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetServiceRow ¶ added in v0.4.0
type ErrorFacetTenantParams ¶ added in v0.6.81
type ErrorFacetTenantParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetTenantRow ¶ added in v0.6.81
type ErrorFacetTypeParams ¶ added in v0.4.0
type ErrorFacetTypeParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
PageSize int64
}
type ErrorFacetTypeRow ¶ added in v0.4.0
type ErrorGroupTrendsParams ¶ added in v0.4.0
type ErrorGroupTrendsParams struct {
Step pgtype.Interval
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
Fingerprints [][]byte
}
type ErrorGroupTrendsRow ¶ added in v0.4.0
type ErrorHistogramParams ¶ added in v0.4.0
type ErrorHistogramParams struct {
Step pgtype.Interval
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
}
type ErrorHistogramRow ¶ added in v0.4.0
type ExpireErrorsParams ¶ added in v0.4.0
type GetAuditClockRow ¶
type GetAuditEntryRow ¶
type GetAuditExpiryBoundaryRow ¶
type GetAuditExpiryBoundaryRow struct {
ThroughSequence *int64
}
type GetConfigRevisionParams ¶
type GetConfigRevisionRow ¶
type GetErrorGroupParams ¶ added in v0.4.0
type GetErrorGroupRow ¶ added in v0.4.0
type GetErrorRow ¶ added in v0.4.0
type GetErrorRow struct {
ID uuid.UUID
Key []byte
Fingerprint []byte
Service string
Time time.Time
ReceivedAt time.Time
Environment string
Release string
Instance string
Tenant string
Origin string
Ingest string
EventID string
Type string
Message string
Stacktrace string
Severity int32
SeverityText string
EventName string
Mechanism string
Handled *bool
GroupKey string
TraceID string
SpanID string
RuntimeID string
Scope string
Body json.RawMessage
Attributes json.RawMessage
Resource json.RawMessage
Truncated bool
}
type GetLoginAttemptRow ¶
type GetLoginStateRow ¶
type GetSessionByTokenRow ¶
type GetSessionRow ¶
type InsertAuditEntryParams ¶
type InsertAuditEntryRow ¶
type InsertConfigRevisionParams ¶
type InsertConfigRevisionParams struct {
Service string
Revision int64
Overrides json.RawMessage
Kv json.RawMessage
Author string
Comment string
RollbackOf *int64
}
type InsertConfigRevisionRow ¶
type InsertErrorParams ¶ added in v0.4.0
type InsertErrorParams struct {
ID uuid.UUID
Key []byte
Fingerprint []byte
Service string
Time time.Time
Environment string
Release string
Instance string
Tenant string
Origin string
Ingest string
EventID string
Type string
Message string
Stacktrace string
Severity int32
SeverityText string
EventName string
Mechanism string
Handled *bool
GroupKey string
TraceID string
SpanID string
RuntimeID string
Scope string
Body json.RawMessage
Attributes json.RawMessage
Resource json.RawMessage
Truncated bool
}
type ListConfigRevisionsRow ¶
type ListCurrentConfigKvRow ¶
type ListCurrentConfigKvRow struct {
Service string
Revision int64
Kv json.RawMessage
}
type ListSessionsRow ¶
type LockLoginStateRow ¶
type LoginNowRow ¶
type NextAuditSequenceRow ¶
type NextAuditSequenceRow struct {
Sequence int64
}
type NextConfigRevisionRow ¶
type NextConfigRevisionRow struct {
Revision int64
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AcknowledgeAuditOutbox ¶
func (q *Queries) AcknowledgeAuditOutbox(ctx context.Context, arg AcknowledgeAuditOutboxParams) error
func (*Queries) AdvanceAuditRetention ¶
func (*Queries) AuditFacet ¶
func (q *Queries) AuditFacet(ctx context.Context, arg AuditFacetParams) ([]AuditFacetRow, error)
func (*Queries) AuditFields ¶
func (q *Queries) AuditFields(ctx context.Context, arg AuditFieldsParams) ([]AuditFieldsRow, error)
func (*Queries) AuditFirstTime ¶
func (q *Queries) AuditFirstTime(ctx context.Context, arg AuditFirstTimeParams) (AuditFirstTimeRow, error)
func (*Queries) AuditHistogram ¶
func (q *Queries) AuditHistogram(ctx context.Context, arg AuditHistogramParams) ([]AuditHistogramRow, error)
func (*Queries) ClaimAuditOutbox ¶
func (q *Queries) ClaimAuditOutbox(ctx context.Context, arg ClaimAuditOutboxParams) ([]ClaimAuditOutboxRow, error)
func (*Queries) CountErrorStored ¶ added in v0.4.0
func (q *Queries) CountErrorStored(ctx context.Context, arg CountErrorStoredParams) error
func (*Queries) CountExpiredErrors ¶ added in v0.4.0
func (*Queries) CreateInstallation ¶
func (*Queries) CreateSession ¶
func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (CreateSessionRow, error)
func (*Queries) DeleteExpiredAuditEntries ¶
func (*Queries) DeleteExpiredAuditOutbox ¶
func (*Queries) DeleteExpiredLoginAttempts ¶
func (*Queries) DeleteOtherSessions ¶
func (*Queries) DeleteSession ¶
func (*Queries) DeleteStaleSessions ¶
func (*Queries) ErrorFacetEnvironment ¶ added in v0.4.0
func (q *Queries) ErrorFacetEnvironment(ctx context.Context, arg ErrorFacetEnvironmentParams) ([]ErrorFacetEnvironmentRow, error)
func (*Queries) ErrorFacetHandled ¶ added in v0.4.0
func (q *Queries) ErrorFacetHandled(ctx context.Context, arg ErrorFacetHandledParams) ([]ErrorFacetHandledRow, error)
func (*Queries) ErrorFacetIngest ¶ added in v0.4.0
func (q *Queries) ErrorFacetIngest(ctx context.Context, arg ErrorFacetIngestParams) ([]ErrorFacetIngestRow, error)
func (*Queries) ErrorFacetInstance ¶ added in v0.4.0
func (q *Queries) ErrorFacetInstance(ctx context.Context, arg ErrorFacetInstanceParams) ([]ErrorFacetInstanceRow, error)
func (*Queries) ErrorFacetOrigin ¶ added in v0.4.0
func (q *Queries) ErrorFacetOrigin(ctx context.Context, arg ErrorFacetOriginParams) ([]ErrorFacetOriginRow, error)
func (*Queries) ErrorFacetRelease ¶ added in v0.4.0
func (q *Queries) ErrorFacetRelease(ctx context.Context, arg ErrorFacetReleaseParams) ([]ErrorFacetReleaseRow, error)
func (*Queries) ErrorFacetService ¶ added in v0.4.0
func (q *Queries) ErrorFacetService(ctx context.Context, arg ErrorFacetServiceParams) ([]ErrorFacetServiceRow, error)
func (*Queries) ErrorFacetTenant ¶ added in v0.6.81
func (q *Queries) ErrorFacetTenant(ctx context.Context, arg ErrorFacetTenantParams) ([]ErrorFacetTenantRow, error)
func (*Queries) ErrorFacetType ¶ added in v0.4.0
func (q *Queries) ErrorFacetType(ctx context.Context, arg ErrorFacetTypeParams) ([]ErrorFacetTypeRow, error)
func (*Queries) ErrorGroupTrends ¶ added in v0.4.0
func (q *Queries) ErrorGroupTrends(ctx context.Context, arg ErrorGroupTrendsParams) ([]ErrorGroupTrendsRow, error)
func (*Queries) ErrorHistogram ¶ added in v0.4.0
func (q *Queries) ErrorHistogram(ctx context.Context, arg ErrorHistogramParams) ([]ErrorHistogramRow, error)
func (*Queries) ExpireErrorGroups ¶ added in v0.4.0
func (*Queries) ExpireErrors ¶ added in v0.4.0
func (q *Queries) ExpireErrors(ctx context.Context, arg ExpireErrorsParams) error
func (*Queries) GetAuditClock ¶
func (q *Queries) GetAuditClock(ctx context.Context) (GetAuditClockRow, error)
func (*Queries) GetAuditEntry ¶
func (*Queries) GetAuditExpiryBoundary ¶
func (*Queries) GetConfigRevision ¶
func (q *Queries) GetConfigRevision(ctx context.Context, arg GetConfigRevisionParams) (GetConfigRevisionRow, error)
func (*Queries) GetCurrentConfigRevision ¶
func (*Queries) GetErrorGroup ¶ added in v0.4.0
func (q *Queries) GetErrorGroup(ctx context.Context, arg GetErrorGroupParams) (GetErrorGroupRow, error)
func (*Queries) GetInstallation ¶
func (q *Queries) GetInstallation(ctx context.Context) (GetInstallationRow, error)
func (*Queries) GetLoginAttempt ¶
func (*Queries) GetLoginState ¶
func (q *Queries) GetLoginState(ctx context.Context) (GetLoginStateRow, error)
func (*Queries) GetSession ¶
func (*Queries) GetSessionByToken ¶
func (*Queries) InsertApplicationAudit ¶
func (*Queries) InsertAuditEntry ¶
func (q *Queries) InsertAuditEntry(ctx context.Context, arg InsertAuditEntryParams) (InsertAuditEntryRow, error)
func (*Queries) InsertAuditOutbox ¶
func (*Queries) InsertConfigRevision ¶
func (q *Queries) InsertConfigRevision(ctx context.Context, arg InsertConfigRevisionParams) (InsertConfigRevisionRow, error)
func (*Queries) InsertError ¶ added in v0.4.0
func (*Queries) ListConfigRevisions ¶
func (q *Queries) ListConfigRevisions(ctx context.Context, arg ListConfigRevisionsParams) ([]ListConfigRevisionsRow, error)
func (*Queries) ListCurrentConfigKv ¶
func (q *Queries) ListCurrentConfigKv(ctx context.Context) ([]ListCurrentConfigKvRow, error)
func (*Queries) ListSessions ¶
func (q *Queries) ListSessions(ctx context.Context) ([]ListSessionsRow, error)
func (*Queries) LockAuditClock ¶ added in v0.6.44
func (*Queries) LockLoginState ¶
func (q *Queries) LockLoginState(ctx context.Context) (LockLoginStateRow, error)
func (*Queries) NextAuditSequence ¶
func (q *Queries) NextAuditSequence(ctx context.Context) (NextAuditSequenceRow, error)
func (*Queries) NextConfigRevision ¶
func (*Queries) ResetLoginFailures ¶
func (*Queries) RetryAuditOutbox ¶
func (q *Queries) RetryAuditOutbox(ctx context.Context, arg RetryAuditOutboxParams) error
func (*Queries) SearchAudit ¶
func (q *Queries) SearchAudit(ctx context.Context, arg SearchAuditParams) ([]SearchAuditRow, error)
func (*Queries) SearchErrorGroups ¶ added in v0.4.0
func (q *Queries) SearchErrorGroups(ctx context.Context, arg SearchErrorGroupsParams) ([]SearchErrorGroupsRow, error)
func (*Queries) SearchErrors ¶ added in v0.4.0
func (q *Queries) SearchErrors(ctx context.Context, arg SearchErrorsParams) ([]SearchErrorsRow, error)
func (*Queries) SetConfigCurrent ¶
func (q *Queries) SetConfigCurrent(ctx context.Context, arg SetConfigCurrentParams) error
func (*Queries) SetErrorGroupState ¶ added in v0.4.0
func (q *Queries) SetErrorGroupState(ctx context.Context, arg SetErrorGroupStateParams) (SetErrorGroupStateRow, error)
func (*Queries) SetLoginFailure ¶
func (q *Queries) SetLoginFailure(ctx context.Context, arg SetLoginFailureParams) error
func (*Queries) TakeLoginAttempt ¶
func (q *Queries) TakeLoginAttempt(ctx context.Context, arg TakeLoginAttemptParams) (TakeLoginAttemptRow, error)
func (*Queries) TouchErrorBurst ¶ added in v0.6.81
func (q *Queries) TouchErrorBurst(ctx context.Context, arg TouchErrorBurstParams) (TouchErrorBurstRow, error)
func (*Queries) TouchErrorGroup ¶ added in v0.4.0
func (q *Queries) TouchErrorGroup(ctx context.Context, arg TouchErrorGroupParams) error
func (*Queries) TouchSession ¶
func (q *Queries) TouchSession(ctx context.Context, arg TouchSessionParams) error
func (*Queries) UncountErrorBurst ¶ added in v0.6.81
func (q *Queries) UncountErrorBurst(ctx context.Context, arg UncountErrorBurstParams) error
func (*Queries) UncountErrorDuplicate ¶ added in v0.4.0
func (q *Queries) UncountErrorDuplicate(ctx context.Context, arg UncountErrorDuplicateParams) error
type RetryAuditOutboxParams ¶
type SearchAuditParams ¶
type SearchAuditParams struct {
StartAt *time.Time
EndAt *time.Time
Sources []string
Services []string
Actions []string
Actors []string
Subjects []string
Outcomes []string
Operations []string
Severities []string
TraceIds []string
AttributesMust *json.RawMessage
Text *string
Conditions *json.RawMessage
BeforeTime *time.Time
BeforeID *uuid.UUID
PageSize int64
}
type SearchAuditRow ¶
type SearchAuditRow struct {
Source string
ID uuid.UUID
Time time.Time
ReceivedAt time.Time
Service string
Actor string
Action string
Subject string
Outcome string
Message string
Operation string
Sequence int64
Attributes json.RawMessage
Resource json.RawMessage
Severity string
TraceID string
SpanID string
}
type SearchErrorGroupsParams ¶ added in v0.4.0
type SearchErrorGroupsParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
StateIn []string
Sort int32
PageSize int64
PageOffset int64
}
type SearchErrorGroupsRow ¶ added in v0.4.0
type SearchErrorGroupsRow struct {
Fingerprint []byte
Service string
Type string
Message string
FirstSeen time.Time
LastSeen time.Time
Count int64
Stored int64
State string
StateAt *time.Time
StateBy string
StateNote string
RegressedAt *time.Time
CountInRange int64
NewestTime *time.Time
NewestID *uuid.UUID
AnySdk *bool
AnyUnhandled *bool
Environments []string
Releases []string
}
type SearchErrorsParams ¶ added in v0.4.0
type SearchErrorsParams struct {
Start time.Time
End time.Time
ServiceIn []string
ServiceNot []string
ServicePrefix []string
EnvironmentIn []string
EnvironmentNot []string
EnvironmentExists int32
ReleaseIn []string
ReleaseNot []string
ReleasePrefix []string
ReleaseExists int32
TypeIn []string
TypeNot []string
TypeLike []string
TypeNotLike []string
TypePrefix []string
MessageIn []string
MessageNot []string
MessageLike []string
MessageNotLike []string
MessagePrefix []string
TraceIn []string
TraceNot []string
TraceExists int32
RuntimeIn []string
RuntimeNot []string
RuntimeExists int32
GroupKeyIn []string
GroupKeyNot []string
GroupKeyExists int32
OriginIn []string
OriginNot []string
FingerprintIn [][]byte
FingerprintNot [][]byte
Handled int32
IngestIn []string
IngestNot []string
InstanceIn []string
InstanceNot []string
TenantIn []string
TenantNot []string
TenantExists int32
Text string
TextInStack bool
BeforeTime time.Time
BeforeID uuid.UUID
PageSize int64
}
type SearchErrorsRow ¶ added in v0.4.0
type SearchErrorsRow struct {
ID uuid.UUID
Fingerprint []byte
Service string
Time time.Time
ReceivedAt time.Time
Environment string
Release string
Instance string
Tenant string
Origin string
Ingest string
EventID string
Type string
Message string
Severity int32
Mechanism string
Handled *bool
GroupKey string
TraceID string
SpanID string
RuntimeID string
Truncated bool
}
type SetConfigCurrentParams ¶
type SetErrorGroupStateParams ¶ added in v0.4.0
type SetErrorGroupStateRow ¶ added in v0.4.0
type SetLoginFailureParams ¶
type TakeLoginAttemptParams ¶
type TakeLoginAttemptRow ¶
type TouchErrorBurstParams ¶ added in v0.6.81
type TouchErrorBurstRow ¶ added in v0.6.81
type TouchErrorGroupParams ¶ added in v0.4.0
type UncountErrorBurstParams ¶ added in v0.6.81
type UncountErrorDuplicateParams ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.