Softwr

Mobile Development · head to head

Apache Cordova vs Telegraf

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
Telegraf logo

Telegraf

Logging

The Plugin-Driven Server Agent for Collecting and Reporting Metrics

From
Free
Free plan
Yes

The short version

  • Telegraf is an open-source server agent to help you collect metrics.
  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Telegraf lists metrics collection.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Telegraf falls short: Telegraf is a collection agent only, so storage and dashboards need a separate backend such as InfluxDB or another destination.

How do Apache Cordova and Telegraf differ?

Apache Cordova and Telegraf differ on platforms, category (Mobile Development against Logging) and year founded (2008 against 2013). Only the attributes on which Apache Cordova and Telegraf actually diverge.

Attributes where Apache Cordova and Telegraf differ
AttributeApache CordovaTelegraf
PlatformsiOS, Android, Windows, macOS, LinuxWeb, API
CategoryMobile DevelopmentLogging
Founded20082013

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 9 only for Telegraf. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in Telegraf

  • Metrics collection
  • System monitoring
  • Application monitoring
  • Plugin architecture
  • API
  • Webhooks
  • REST
  • Web support

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Telegraf for log monitoring. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot Telegraf
  • Single codebase for iOS and Androidnot Telegraf
  • Prototyping mobile apps with web skillsnot Telegraf
  • Accessing device features from JavaScript through pluginsnot Telegraf

Telegraf

  • Log monitoringnot Apache Cordova
  • Application performancenot Apache Cordova
  • Security analyticsnot Apache Cordova
  • Troubleshootingnot Apache Cordova

Where do Apache Cordova and Telegraf fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

Telegraf

  • Telegraf's core is open source and free, and InfluxData names a separate Telegraf Enterprise tier for teams running it at scale with no price published
  • Telegraf is a collection agent only, so storage and dashboards need a separate backend such as InfluxDB or another destination
  • The 400+ plugins are described as community-tested, so support for individual plugins is not uniform across inputs and outputs

How much do Apache Cordova and Telegraf cost?

Apache Cordova is free to use; Telegraf is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Telegraf

Free
  • FreeFree
    • Metrics collection
    • System monitoring
    • Application monitoring

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose Telegraf if

  • You need metrics collection.
  • You want to start without paying.
  • You work on Web, API.
  • You also want system monitoring.

Questions people ask

Is Apache Cordova or Telegraf better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Telegraf fits log monitoring. Apache Cordova starts at Free and Telegraf at Free.
Which is cheaper, Apache Cordova or Telegraf?
Apache Cordova starts at Free and Telegraf at Free.
Does Apache Cordova or Telegraf run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Telegraf runs on Web, API.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Telegraf is typically brought in for.
What can Apache Cordova do that Telegraf cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Telegraf covers Metrics collection, System monitoring, Application monitoring, Plugin architecture.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
Telegraf: Is Telegraf free to use?

Yes, Telegraf OSS is free and open source. It can be downloaded and used at no cost for collecting metrics from infrastructure, applications, and devices using over 400 community-tested plugins.

Source
Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
Telegraf: What is Telegraf Enterprise and how much does it cost?

Telegraf Enterprise is a commercial offering for managing Telegraf at scale. It is licensed annually with entry-level packages starting at $18,000 per year, and pricing scales based on the total number of Telegraf agents under management.

Source
Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
Telegraf: Can I try Telegraf Enterprise before purchasing?

Yes, a free tier of Telegraf Controller is available for evaluation. It allows you to store up to 20 configurations and manage up to 100 reporting agents.

Source
Telegraf: Can Telegraf OSS be used for commercial purposes?

Telegraf OSS is free and available as open source software, suitable for commercial deployments without licensing fees. For large-scale enterprise needs, Telegraf Enterprise is the commercial offering.

Source
Telegraf: How many plugins does Telegraf support?

Telegraf includes over 400 community-tested plugins that can connect to various data sources and destinations including Kubernetes, Docker, AWS, Google Cloud, Azure, Kafka, and many databases.

Source
Share

Related pages

Other head to heads