Skip to content

Instantly share code, notes, and snippets.

@jychen7
Last active May 9, 2022 01:03
Show Gist options
  • Select an option

  • Save jychen7/55c6a3ac2c7cb0fdb8a3e7dc90c477be to your computer and use it in GitHub Desktop.

Select an option

Save jychen7/55c6a3ac2c7cb0fdb8a3e7dc90c477be to your computer and use it in GitHub Desktop.
InfluxDB vs Prometheus
InfluxDB/TICK Prometheus
data collection 1.8: Push
2.0: Push & Pull
Pull
data type float, int, bool, string float
time accurancy nanoseconds milliseconds
storage InfluxDB TSDB
retention custom by database global
query language 1.8: InfluxQL (SQL) and Flux
2.0: Flux (functional)
PromQL (functional)
downsampling Yes, CQ or Kapacitor No
aggregation Yes, CQ or Kapacitor Yes, recording rules
evaluation model CQ (pull periodically)
Kapacitor (streaming)
pull periodically
alert notification Kapacitor AlertManager
Cluster HA Telegraf (double write)
replicate via Subscriptions
Load Balancer via InfluxDB Relay
replicate via Federation
Alert HA generate same alert in Kapacity
deduplication is not included in OSS
generate same alert in Promeheus
deduplicate at AlertManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment