Create New SQL Data Source

You can use a JDBC driver to pull data into Metric Insights using a SQL fetch command. This includes traditional databases as well as NoSQL sources with JDBC access; for example, Hadoop Hive.

This article describes the general process for creating a SQL data source. Information on creating a data sources based on a plugin can be found here.

For a description of Metric Insights overall approach to Data Sources, click here.

Video Tutorial

1. Access Admin > Data Sources

At the bottom of the page click [+New Data Source].

2. Choose type

Choose type
  1. Select SQL as the type of a new Data Source
  2. Next step

2.1. Complete all settings

  1. The Port number will be set by default, based on your choice of JDBC Driver. Change it if necessary.
  2. The JDBC string will be created automatically based on your other inputs. In some cases, however, it will not be possible to infer the correct string without additional inputs. If the Connection Test fails, contact Metric Insights for assistance..
  3. Optionally, specify the maximum number of concurrent Threads per Trigger execution to be used in background processing when the system updates Metrics and Reports for this Data Source.  If you do not specify any value for this setting, batch data collection processing will be single-threaded.
  4. If you select 'yes' to specify that this Data Source is remote; for example, behind a firewall, you will be required to select a Connector or create a new one. See Define a Remote Data Collector for more details.
  5. Once a new Data Source is saved, click Test Connection to ensure that settings are correct. NOTE: Some data sources cannot be tested this way.

2.2. Review and close the confirmation

If the connectivity is established, the confirmation message appears; click OK to continue.

NOTE: It is not possible to directly test Hive connectivity from the connection editor since there is no standard query that can be run against a HiveQL instance. Contact Metric Insights for assistance in validating a HiveQL connection.

0 Comments

Add your comment

E-Mail me when someone replies to this comment