()
| 15 | public connectionSyncJobSuccessTotal: Counter<string>; |
| 16 | |
| 17 | constructor() { |
| 18 | this.registry = new Registry(); |
| 19 | |
| 20 | this.activeRepoIndexJobs = new Gauge({ |
| 21 | name: 'active_repo_index_jobs', |
| 22 | help: 'The number of repo jobs in progress', |
| 23 | labelNames: ['repo', 'type'], |
| 24 | }); |
| 25 | this.registry.registerMetric(this.activeRepoIndexJobs); |
| 26 | |
| 27 | this.pendingRepoIndexJobs = new Gauge({ |
| 28 | name: 'pending_repo_index_jobs', |
| 29 | help: 'The number of repo jobs waiting in queue', |
| 30 | labelNames: ['repo', 'type'], |
| 31 | }); |
| 32 | this.registry.registerMetric(this.pendingRepoIndexJobs); |
| 33 | |
| 34 | this.repoIndexJobReattemptsTotal = new Counter({ |
| 35 | name: 'repo_index_job_reattempts', |
| 36 | help: 'The number of repo job reattempts', |
| 37 | labelNames: ['repo', 'type'], |
| 38 | }); |
| 39 | this.registry.registerMetric(this.repoIndexJobReattemptsTotal); |
| 40 | |
| 41 | this.repoIndexJobFailTotal = new Counter({ |
| 42 | name: 'repo_index_job_fails', |
| 43 | help: 'The number of repo job fails', |
| 44 | labelNames: ['repo', 'type'], |
| 45 | }); |
| 46 | this.registry.registerMetric(this.repoIndexJobFailTotal); |
| 47 | |
| 48 | this.repoIndexJobSuccessTotal = new Counter({ |
| 49 | name: 'repo_index_job_successes', |
| 50 | help: 'The number of repo job successes', |
| 51 | labelNames: ['repo', 'type'], |
| 52 | }); |
| 53 | this.registry.registerMetric(this.repoIndexJobSuccessTotal); |
| 54 | |
| 55 | this.activeConnectionSyncJobs = new Gauge({ |
| 56 | name: 'active_connection_sync_jobs', |
| 57 | help: 'The number of connection sync jobs in progress', |
| 58 | labelNames: ['connection'], |
| 59 | }); |
| 60 | this.registry.registerMetric(this.activeConnectionSyncJobs); |
| 61 | |
| 62 | this.pendingConnectionSyncJobs = new Gauge({ |
| 63 | name: 'pending_connection_sync_jobs', |
| 64 | help: 'The number of connection sync jobs waiting in queue', |
| 65 | labelNames: ['connection'], |
| 66 | }); |
| 67 | this.registry.registerMetric(this.pendingConnectionSyncJobs); |
| 68 | |
| 69 | this.connectionSyncJobReattemptsTotal = new Counter({ |
| 70 | name: 'connection_sync_job_reattempts', |
| 71 | help: 'The number of connection sync job reattempts', |
| 72 | labelNames: ['connection'], |
| 73 | }); |
| 74 | this.registry.registerMetric(this.connectionSyncJobReattemptsTotal); |
nothing calls this directly
no outgoing calls
no test coverage detected