This is an overview of the data sources, the type of daemon where it comes from, the ports (if default), and the http endpoint it is using.

DatasourceTypeDefault Port(s)Endpoint
Metricstserver/master7000,9000,12000,13000/metrics
Statementstserver13000/statements
Metricsnode-exporter9300/metrics
Gflagstserver/master7000,9000/varz
Varstserver/master7000,9000/api/v1/varz
Threadstserver/master7000,9000/threadz
Mem-trackerstserver/master7000,9000/mem-trackers
Loggingtserver/master7000,9000/logs
Versiontserver/master7000,9000/api/v1/version
Entitiesmaster7000/dump-entities
Mastersmaster7000/api/v1/masters
Tablet-serversmaster7000/api/v1/tablet-servers
RPCstserver/master7000,9000,12000,13000/rpcz
Pproftserver/master7000,9000/pprof/growth
Memory breakdowntserver/master7000,9000/memz

Based on the datasources, these are the options for the differences sources:

DatasourceSnapshotAd-hocDiffPrint snapPrint ad-hocRaw
Metrics
Statement
Metrics
Gflags
Vars
Thread
Mem-trackers
Logging
Version
Entities
Masters
Tablet-servers
RPCs
Pprof
Memory breakdown
  • Snapshot: datasources is captured with the snapshot command.
  • Ad-hoc: the datasources that are involved in an ad-hoc (non-snapshot) use.
  • Diff: the datasources that are involved in a snapshot-diff use. This is identical to ad-hoc, but the data taken from snapshots, instead of 'live'.
  • Print: the datasources that are queryable via a yb_stats print- command.
  • Raw: the datasources that are captured in the snapshot directory, but require reading the file directly, no print or diff command exists.