mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
Use the ConvertSqlTimeColumnToEpochMs function to convert any native datetime data type or epoch time (millisecond precision). Refactored mysql implementation to make it more similar to postgres and mssql implementations. Added $__timeEpoch macro function with same implementation as $__time. Added possibility to use a time column named time in addition to the currectly supported time_sec. Additional tests and update of existing. Added test dashboard. |
||
---|---|---|
.. | ||
img | ||
partials | ||
specs | ||
datasource.ts | ||
module.ts | ||
plugin.json | ||
query_ctrl.ts | ||
README.md | ||
response_parser.ts |
MySQL Data Source - Native Plugin
Grafana ships with a built-in MySQL data source plugin that allow you to query any visualize data from a MySQL compatible database.
Adding the data source
- Open the side menu by clicking the Grafana icon in the top header.
- In the side menu under the Dashboards link you should find a link named Data Sources.
- Click the + Add data source button in the top header.
- Select MySQL from the Type dropdown.
Read more about it here: