Using InfluxDB in Grafana,influxdb for use in Grafana

Source: Internet
Author: User
Tags auth grafana influxdb

Grafana comes with a feature-rich data source plug-in influxdb. Supports rich query Editor, annotations, and templating (template) queries.

Adding data sources (Adding the source)

    1. Click the top Grafana icon to open the side menu.
    2. In the Dashboards side menu under links, you should find a link called data sources.
    3. Click on the button at the top + Add data source .
    4. Select InfluxDB in the Type drop-down option .

Edit/add Data source

Name: Data source names. This is how the data source is referenced in the panel and in the query.

Defalut: The default data source means that it will be pre-selected for the new panel.

Type

Http settings

URL: The port of your HTTP protocol, IP, and Influxdb API (the INFLUXDB API port is the default of 8086)

Access:proxy: Via Grafana backend access, direct: Access directly through the browser

Http Auth

Basic Auth

With Credentials

Tls Client Auth

With CA Cert

InfluxDB Details

DATABASE:INFLUXDB database name

User: Database username

Password: Database user password

Defalut GROUP BY Time

Note: If you do not see the data sources link in your side menu, this means that your current user does not have the admin role for the current organization.

See in detail; http://docs.grafana.org/features/datasources/influxdb/

Proxy vs Direct Access

Proxy access means that the Grafana backend would proxy all requests from the browser. So requests to InfluxDB would be channeled through grafana-server . This means, the URL you specify needs to is accessible from the server is running Grafana on. Proxy access mode is also more secure as the username & password would never reach the browser.

Using InfluxDB in Grafana,influxdb for use in Grafana

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.