@@ -276,12 +276,12 @@ public void testByStateCounts_InitAndQueuedShards() throws Exception {
276276 assertMetricsHaveAttributes (
277277 InstrumentType .LONG_GAUGE ,
278278 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" )
280280 );
281281 assertMetricsHaveAttributes (
282282 InstrumentType .LONG_GAUGE ,
283283 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" )
285285 );
286286 }
287287
@@ -345,12 +345,12 @@ public void testByStateCounts_PausedForRemovalShards() throws Exception {
345345 assertMetricsHaveAttributes (
346346 InstrumentType .LONG_GAUGE ,
347347 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" )
349349 );
350350 assertMetricsHaveAttributes (
351351 InstrumentType .LONG_GAUGE ,
352352 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" )
354354 );
355355 }
356356
@@ -421,12 +421,12 @@ public void testByStateCounts_WaitingShards() throws Exception {
421421 assertMetricsHaveAttributes (
422422 InstrumentType .LONG_GAUGE ,
423423 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" )
425425 );
426426 assertMetricsHaveAttributes (
427427 InstrumentType .LONG_GAUGE ,
428428 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" )
430430 );
431431 }
432432
0 commit comments