private void setupOTelMonitoring(@NotNull Meter meter) {
    var fileByIdCacheHitsCounter = meter.counterBuilder("VFS.fileByIdCache.hits").buildObserver();
    var fileByIdCacheMissesCounter = meter.counterBuilder("VFS.fileByIdCache.misses").buildObserver();
    var fileChildByNameCounter = meter.counterBuilder("VFS.fileChildByName").buildObserver();
    var invertedFileNameIndexRequestsCount = meter.counterBuilder("VFS.invertedFileNameIndex.requests").buildObserver();
    meter.batchCallback(() -> {
      fileByIdCacheHitsCounter.record(fileByIdCacheHits.get());
      fileByIdCacheMissesCounter.record(fileByIdCacheMisses.get());
      fileChildByNameCounter.record(childByName.get());
      FSRecordsImpl vfs = vfsPeer;
      if (vfs != null) {
        invertedFileNameIndexRequestsCount.record(vfs.invertedNameIndexRequestsServed());
      }
    }, fileByIdCacheHitsCounter, fileByIdCacheMissesCounter, fileChildByNameCounter, invertedFileNameIndexRequestsCount);
  }
private void setupOTelMonitoring(@NotNull Meter meter)