financial monitoring icon

The Currency Exchange Rate Monitoring Template

Telegraf Plugins used:

Included Resources:

  • 1 Bucket: quandl, 30d retention
  • 2 Labels: Exchange Rates, outputs.influxdb_v2
  • 1 Telegraf Configuration: Exchange Rates Data Retrieval.conf
  • 1 Dashboards: Exchange Rates
  • 1 Variables: bucket

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:

https://raw.githubusercontent.com/influxdata/community-templates/master/currency_exchange_rates/currency_exchange_rates.yml

In finance, an exchange rate is the rate that one currency can be exchanged for another currency. You can think of this as the value of a country's currency vs. that of another country or economic zone. There are two types of exchange rates — flexible exchange rates, which change constantly, and fixed exchanges rates, which rarely change.

Why monitor the currency exchange rate?

Flexible currency exchange rates are determined by the foreign exchange market (forex) and change on a regular basis. If you ever travel to a country with a different currency than that used where you live, you can plan for the exchange rate values. If your local currency is strong, you can buy more of the foreign currency which will allow you to purchase more on your trip. There are a number of applications and websites that share currency exchanges rates from around the world. Or, you can build your own monitoring solution to watch the exact exchange rate that you are interested in.

Currency exchange rate monitoring dashboard

How to use the Currency Exchange Rate Monitoring Template

The Currency Exchange Rate Monitoring Template retrieves the daily indexes from European Central Bank for the following exchange rates:

  • EUR-USD
  • EUR-GBP
  • EUR-CHR
  • USD-CHR

The template is able to pull this data by using an API from Quandl, a source for all kinds of data including financial, economic, and alternative datasets, serving investment professionals. You can easily start using the data by opening a free account that provides you with an API key so you can pull the data through the API and the web interface. With this API, you can also change the exchange rates that are pulled into InfluxDB.

Once your InfluxDB credentials have been properly configured in the CLI, you can install the Currency Exchange Rate Monitoring Template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configurations for the HTTP Input Plugin, the InfluxDB v2.x Output Plugin, the Pivot Processor, and the Regex Processor Plugin. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value.

To find out more information about environmental variables within the configurations for the 4 Telegraf plugins, consult the following links:

The source of the data shown in this dashboard is updated every weekday, so remember to set the Time Range in the dashboard to Past 30d. In addition, the Telegraf configuration retrieves the data every minute even though the data used in this template does not change as often.

Key currency exchange rate monitoring metrics

This template pulls the currency exchange rates for the following :

  • EUR-USD
  • EUR-GBP
  • EUR-CHR
  • USD-CHR

Related Resources

HTTP Response Telegraf Plugin

The HTTP Response Input Plugin gathers metrics for HTTP responses.

Intro to Telegraf and the plugin ecosystem

How to install and configure Telegraf, InfluxDB’s native data collector that supports over 200 inputs and outputs.

Real-time analytics

Processing, analyzing and acting on time series data in real time.

Scroll to Top