@@ -276,12 +276,12 @@ public void testByStateCounts_InitAndQueuedShards() throws Exception {
276
276
assertMetricsHaveAttributes (
277
277
InstrumentType .LONG_GAUGE ,
278
278
SnapshotMetrics .SNAPSHOT_SHARDS_BY_STATE ,
279
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
279
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
280
280
);
281
281
assertMetricsHaveAttributes (
282
282
InstrumentType .LONG_GAUGE ,
283
283
SnapshotMetrics .SNAPSHOTS_BY_STATE ,
284
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
284
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
285
285
);
286
286
}
287
287
@@ -345,12 +345,12 @@ public void testByStateCounts_PausedForRemovalShards() throws Exception {
345
345
assertMetricsHaveAttributes (
346
346
InstrumentType .LONG_GAUGE ,
347
347
SnapshotMetrics .SNAPSHOT_SHARDS_BY_STATE ,
348
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
348
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
349
349
);
350
350
assertMetricsHaveAttributes (
351
351
InstrumentType .LONG_GAUGE ,
352
352
SnapshotMetrics .SNAPSHOTS_BY_STATE ,
353
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
353
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
354
354
);
355
355
}
356
356
@@ -421,12 +421,12 @@ public void testByStateCounts_WaitingShards() throws Exception {
421
421
assertMetricsHaveAttributes (
422
422
InstrumentType .LONG_GAUGE ,
423
423
SnapshotMetrics .SNAPSHOT_SHARDS_BY_STATE ,
424
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
424
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
425
425
);
426
426
assertMetricsHaveAttributes (
427
427
InstrumentType .LONG_GAUGE ,
428
428
SnapshotMetrics .SNAPSHOTS_BY_STATE ,
429
- Map .of ("project_id" , ProjectId . DEFAULT . id (), " repo_name" , repositoryName , "repo_type" , "mock" )
429
+ Map .of ("repo_name" , repositoryName , "repo_type" , "mock" )
430
430
);
431
431
}
432
432
0 commit comments