Need advice about which tool to choose?Ask the StackShare community!

OpenTSDB

33
74
+ 1
0
Prometheus

4.1K
3.7K
+ 1
239
Add tool

OpenTSDB vs Prometheus: What are the differences?

Introduction

OpenTSDB and Prometheus are two popular monitoring and time series databases used in software development and operations. While both serve similar purposes, there are some key differences between them that set them apart. In this article, we will explore the main differences between OpenTSDB and Prometheus.

  1. Data Model: OpenTSDB uses a unique data model where each data point is stored as a key-value pair with a timestamp. This allows for efficient storage and retrieval of time series data. On the other hand, Prometheus uses a metric-based data model where each metric has a set of labels associated with it. This flexible model allows for powerful querying and filtering capabilities.

  2. Scalability: OpenTSDB is designed with scalability in mind and can handle large amounts of data and high write rates. It leverages distributed architecture and horizontal scaling to handle the load. Prometheus, on the other hand, is more suitable for smaller setups and may require sharding or federation for large deployments.

  3. Data Collection: OpenTSDB supports data ingestion using various protocols such as HTTP, Telnet, and others. It also provides a built-in mechanism for aggregating and summarizing data at the server-side. Prometheus, on the other hand, relies on a pull-based model where it scrapes metrics from targets using HTTP. It also supports service discovery and automatic target detection.

  4. Querying: OpenTSDB provides a powerful query language called TSDB Query Language (TSL), which allows for complex data retrieval and filtering. It supports various aggregation functions and time series operations. Prometheus comes with its own query language called PromQL, which is specifically designed for working with its metric-based data model. PromQL is known for its simplicity and ease of use.

  5. Alerting: OpenTSDB does not have built-in alerting capabilities. However, it can be integrated with external tools like Grafana for alerting and visualization. Prometheus, on the other hand, provides native support for alerting. It has a powerful alerting engine that can define and trigger alerts based on specific conditions.

  6. Integration: OpenTSDB can integrate with various third-party monitoring and visualization tools through its extensive set of APIs and plugins. Prometheus has native integration with Grafana and other popular monitoring tools. It also provides APIs and libraries for custom integrations.

In summary, OpenTSDB and Prometheus differ in their data models, scalability, data collection methods, querying languages, alerting capabilities, and integration options. The choice between the two depends on the specific requirements of the monitoring and time series needs of an application or system.

Advice on OpenTSDB and Prometheus
Susmita Meher
Senior SRE at African Bank · | 4 upvotes · 784.7K views
Needs advice
on
GrafanaGrafanaGraphiteGraphite
and
PrometheusPrometheus

Looking for a tool which can be used for mainly dashboard purposes, but here are the main requirements:

  • Must be able to get custom data from AS400,
  • Able to display automation test results,
  • System monitoring / Nginx API,
  • Able to get data from 3rd parties DB.

Grafana is almost solving all the problems, except AS400 and no database to get automation test results.

See more
Replies (1)
Sakti Behera
Technical Specialist, Software Engineering at AT&T · | 3 upvotes · 570K views
Recommends
on
GrafanaGrafanaPrometheusPrometheus

You can look out for Prometheus Instrumentation (https://prometheus.io/docs/practices/instrumentation/) Client Library available in various languages https://prometheus.io/docs/instrumenting/clientlibs/ to create the custom metric you need for AS4000 and then Grafana can query the newly instrumented metric to show on the dashboard.

See more
Sunil Chaudhari
Needs advice
on
MetricbeatMetricbeat
and
PrometheusPrometheus

Hi, We have a situation, where we are using Prometheus to get system metrics from PCF (Pivotal Cloud Foundry) platform. We send that as time-series data to Cortex via a Prometheus server and built a dashboard using Grafana. There is another pipeline where we need to read metrics from a Linux server using Metricbeat, CPU, memory, and Disk. That will be sent to Elasticsearch and Grafana will pull and show the data in a dashboard.

Is it OK to use Metricbeat for Linux server or can we use Prometheus?

What is the difference in system metrics sent by Metricbeat and Prometheus node exporters?

Regards, Sunil.

See more
Replies (2)
Matthew Rothstein
Recommends
on
PrometheusPrometheus

If you're already using Prometheus for your system metrics, then it seems like standing up Elasticsearch just for Linux host monitoring is excessive. The node_exporter is probably sufficient if you'e looking for standard system metrics.

Another thing to consider is that Metricbeat / ELK use a push model for metrics delivery, whereas Prometheus pulls metrics from each node it is monitoring. Depending on how you manage your network security, opting for one solution over two may make things simpler.

See more
Recommends
on
InstanaInstana

Hi Sunil! Unfortunately, I don´t have much experience with Metricbeat so I can´t advise on the diffs with Prometheus...for Linux server, I encourage you to use Prometheus node exporter and for PCF, I would recommend using the instana tile (https://www.instana.com/supported-technologies/pivotal-cloud-foundry/). Let me know if you have further questions! Regards Jose

See more
Mat Jovanovic
Head of Cloud at Mats Cloud · | 3 upvotes · 714K views
Needs advice
on
DatadogDatadogGrafanaGrafana
and
PrometheusPrometheus

We're looking for a Monitoring and Logging tool. It has to support AWS (mostly 100% serverless, Lambdas, SNS, SQS, API GW, CloudFront, Autora, etc.), as well as Azure and GCP (for now mostly used as pure IaaS, with a lot of cognitive services, and mostly managed DB). Hopefully, something not as expensive as Datadog or New relic, as our SRE team could support the tool inhouse. At the moment, we primarily use CloudWatch for AWS and Pandora for most on-prem.

See more
Replies (2)
Lucas Rincon
Recommends
on
InstanaInstana

this is quite affordable and provides what you seem to be looking for. you can see a whole thing about the APM space here https://www.apmexperts.com/observability/ranking-the-observability-offerings/

See more
Recommends
on
DatadogDatadog

I worked with Datadog at least one year and my position is that commercial tools like Datadog are the best option to consolidate and analyze your metrics. Obviously, if you can't pay the tool, the best free options are the mix of Prometheus with their Alert Manager and Grafana to visualize (that are complementary not substitutable). But I think that no use a good tool it's finally more expensive that use a not really good implementation of free tools and you will pay also to maintain its.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of OpenTSDB
Pros of Prometheus
    Be the first to leave a pro
    • 47
      Powerful easy to use monitoring
    • 38
      Flexible query language
    • 32
      Dimensional data model
    • 27
      Alerts
    • 23
      Active and responsive community
    • 22
      Extensive integrations
    • 19
      Easy to setup
    • 12
      Beautiful Model and Query language
    • 7
      Easy to extend
    • 6
      Nice
    • 3
      Written in Go
    • 2
      Good for experimentation
    • 1
      Easy for monitoring

    Sign up to add or upvote prosMake informed product decisions

    Cons of OpenTSDB
    Cons of Prometheus
      Be the first to leave a con
      • 12
        Just for metrics
      • 6
        Bad UI
      • 6
        Needs monitoring to access metrics endpoints
      • 4
        Not easy to configure and use
      • 3
        Supports only active agents
      • 2
        Written in Go
      • 2
        TLS is quite difficult to understand
      • 2
        Requires multiple applications and tools
      • 1
        Single point of failure

      Sign up to add or upvote consMake informed product decisions

      What is OpenTSDB?

      It is a distributed, scalable time series database to store, index & serve metrics collected from computer systems at a large scale. It can store and serve massive amounts of time series data without losing granularity.

      What is Prometheus?

      Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use OpenTSDB?
      What companies use Prometheus?
      See which teams inside your own company are using OpenTSDB or Prometheus.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with OpenTSDB?
      What tools integrate with Prometheus?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Jan 26 2022 at 4:34AM

      Pinterest

      Amazon EC2RocksDBOpenTSDB+3
      3
      722
      Dec 8 2020 at 5:50PM

      DigitalOcean

      GitHubMySQLPostgreSQL+11
      2
      2356
      May 21 2020 at 12:02AM

      Rancher Labs

      KubernetesAmazon EC2Grafana+12
      5
      1495
      PythonDockerKubernetes+14
      12
      2603
      Node.jsnpmKubernetes+6
      1
      1414
      What are some alternatives to OpenTSDB and Prometheus?
      Druid
      Druid is a distributed, column-oriented, real-time analytics data store that is commonly used to power exploratory dashboards in multi-tenant environments. Druid excels as a data warehousing solution for fast aggregate queries on petabyte sized data sets. Druid supports a variety of flexible filters, exact calculations, approximate algorithms, and other useful calculations.
      KairosDB
      KairosDB is a fast distributed scalable time series database written on top of Cassandra.
      InfluxDB
      InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.
      Graphite
      Graphite does two things: 1) Store numeric time-series data and 2) Render graphs of this data on demand
      Elasticsearch
      Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
      See all alternatives