mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
fix(telemetry): count IDP template data (#11720)
# Which Problems Are Solved The total number of configured IDPs seemed of. We were counting only the IDP table for non-templated IDPs. # How the Problems Are Solved Add a count trigger migration for the IDP template table. Entries will be counted under the existing `ResourceCountIdentityProvider` # Additional Changes - none # Additional Context - Reported internally - Implemented in #9979 - Related https://github.com/zitadel/zitadel/issues/9957 Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
279f592d80
commit
921414fa16
@@ -81,6 +81,13 @@ func triggerSteps(db *database.DB) []migration.RepeatableMigration {
|
||||
projection.IDPInstanceIDCol,
|
||||
serviceping.ResourceCountIdentityProvider,
|
||||
),
|
||||
migration.CountTrigger(db,
|
||||
projection.IDPTemplateTable,
|
||||
domain.CountParentTypeInstance,
|
||||
projection.IDPTemplateInstanceIDCol,
|
||||
projection.IDPTemplateInstanceIDCol,
|
||||
serviceping.ResourceCountIdentityProvider,
|
||||
),
|
||||
migration.CountTrigger(db,
|
||||
projection.IDPTemplateLDAPTable,
|
||||
domain.CountParentTypeInstance,
|
||||
|
||||
Reference in New Issue
Block a user