chromium/tools/metrics/histograms/metadata/leveldb_proto/histograms.xml

<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<!--
This file is used to generate a comprehensive list of histograms related to
leveldb_proto along with a detailed description for each histogram.

For best practices on writing histogram descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md

Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->

<histogram-configuration>

<histograms>

<variants name="LevelDBClient">
  <variant name="BudgetManager"
      summary="Database for storing budget information for origins."/>
  <variant name="CachedImageFetcherDatabase"
      summary="Database for CachedImageFetcher metadata."/>
  <variant name="CartDatabase" summary="Database for chrome cart."/>
  <variant name="ClientCertificatesDatabase"
      summary="Database for client certificates owned by Chrome."/>
  <variant name="CommerceParcelTrackingDatabase"
      summary="Database for Chrome commerce parcel tracking."/>
  <variant name="CommerceSubscriptionDatabase"
      summary="Database for Chrome commerce subscriptions."/>
  <variant name="CouponDatabase" summary="Database for coupons in Chrome."/>
  <variant name="DiscountsDatabase" summary="Database for shopping discounts."/>
  <variant name="DownloadDB" summary="Databases for in-progress download."/>
  <variant name="DownloadService" summary="Databases for download service."/>
  <variant name="FeatureEngagementTrackerAvailabilityStore"
      summary="Database for FeatureEngagementTracker feature availability."/>
  <variant name="FeatureEngagementTrackerEventStore"
      summary="Database for FeatureEngagementTracker events."/>
  <variant name="FeedContentDatabase"
      summary="Database for Feed content storage."/>
  <variant name="FeedJournalDatabase"
      summary="Database for Feed journal storage."/>
  <variant name="FeedKeyValueDatabase"
      summary="Database for key value cache used in feed rendering."/>
  <variant name="FeedStreamDatabase"
      summary="Database for Feed v2 stream and content storage."/>
  <variant name="GCMKeyStore" summary="Databases for GCMKeyStore"/>
  <variant name="ImageManager" summary="Databases for ImageManager"/>
  <variant name="MerchantTrustSignalDatabase"
      summary="Database for Chrome merchant trust signals events."/>
  <variant name="Metadata" summary="Metadata of shared databases"/>
  <variant name="NearbyPresenceLocalPublicCredentialDatabase"
      summary="Database for Nearby Presence local public credentials."/>
  <variant name="NearbyPresencePrivateCredentialDatabase"
      summary="Database for Nearby Presence private credentials."/>
  <variant name="NearbyPresenceRemotePublicCredentialDatabase"
      summary="Database for Nearby Presence remote public credentials."/>
  <variant name="NearbySharePublicCertificateDatabase"
      summary="Database for Nearby Share public certificates."/>
  <variant name="NotificationSchedulerIcons"
      summary="Notification scheduler icons database."/>
  <variant name="NotificationSchedulerImpressions"
      summary="Notification scheduler impression database."/>
  <variant name="NotificationSchedulerNotifications"
      summary="Notification scheduler notification database."/>
  <variant name="NTPSnippetImages"
      summary="Database for RemoteSuggestion images."/>
  <variant name="NTPSnippets"
      summary="Database for RemoteSuggestion snippets."/>
  <variant name="OfflinePageMetadataStore"
      summary="Databases for OfflinePageMetadataStore"/>
  <variant name="PageEntityMetadataDatabase"
      summary="Database for page entity metadata."/>
  <variant name="PersistedStateDatabase"
      summary="Database for NonCriticalPersistedTabData"/>
  <variant name="PersistentOriginTrials"
      summary="Database for Persistent Origin Trial tokens"/>
  <variant name="PreviewsHintCacheStore"
      summary="Databases for Previews Hints"/>
  <variant name="PrintJobDatabase" summary="Database for print job metadata."/>
  <variant name="SegmentInfoDatabase"
      summary="Segmentation platform metadata database."/>
  <variant name="SharedDb" summary="Shared database"/>
  <variant name="SharedProtoDB" summary="Shared Proto database."/>
  <variant name="ShareHistoryDatabase"
      summary="Database for third-party share history."/>
  <variant name="ShareRankingDatabase"
      summary="Database for third-party share rankings."/>
  <variant name="SignalDatabase"
      summary="Segmentation platform signal database."/>
  <variant name="SignalStorageConfigDatabase"
      summary="Segmentation platform signal storage config."/>
  <variant name="StrikeService" summary="Database for strike service."/>
  <variant name="UpboardingQueryTileStore"
      summary="Database for Upboarding query tiles."/>
  <variant name="UsageReportsBufferBackend"
      summary="The result of the first attempt to open the usage reports
               buffer backend database."/>
  <variant name="UsageStatsSuspension"
      summary="UsageStats database for Suspensions."/>
  <variant name="UsageStatsTokenMapping"
      summary="UsageStats database for TokenMappings."/>
  <variant name="UsageStatsWebsiteEvent"
      summary="UsageStats database for WebsiteEvents."/>
  <variant name="VideoDecodeStatsDB" summary="Database for video decode stats"/>
  <variant name="VideoTutorialsDatabase"
      summary="Database for video tutorials (deprecated)."/>
  <variant name="VideoTutorialsV2Database"
      summary="Database for video tutorials."/>
  <variant name="WebrtcVideoStatsDB"
      summary="Database for Webrtc video stats."/>
</variants>

<histogram name="LevelDB.ApproximateMemTableMemoryUse.{LevelDBClient}"
    units="bytes" expires_after="2024-07-21">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    The approximate MemTable memory use of a LevelDB in bytes. Recorded right
    after initializing an on-disk database.
  </summary>
  <token key="LevelDBClient" variants="LevelDBClient"/>
</histogram>

<histogram name="ProtoDB.LoadEntriesSuccess.{LevelDBClient}"
    enum="BooleanSuccess" expires_after="2025-02-10">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>Whether a ProtoDB LoadEntries call was successful or not.</summary>
  <token key="LevelDBClient" variants="LevelDBClient"/>
</histogram>

<histogram name="ProtoDB.SharedDbInitStatus" enum="ProtoDatabaseInitState"
    expires_after="2025-02-10">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Tracks the init state progress of a proto database. An enum value is
    recorded for each state of progression through the initialization process.
    Shows the number of users hitting each stage. The enum values starting with
    success and failure indicate that the final output of initialization is a
    success or failure. See
    //components/leveldb_proto/internal/proto_init_state_description.md.
  </summary>
</histogram>

<histogram name="ProtoDB.UpdateSuccess.{LevelDBClient}" enum="BooleanSuccess"
    expires_after="2025-02-10">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>Whether a ProtoDB UpdateEntries call was successful or not.</summary>
  <token key="LevelDBClient" variants="LevelDBClient"/>
</histogram>

</histograms>

</histogram-configuration>