Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syou6162/mackerel-plugin-bigquery-query-result-importer
Mackerel plugin to post bigquery's query result
https://github.com/syou6162/mackerel-plugin-bigquery-query-result-importer
bigquery mackerel-plugin
Last synced: 4 months ago
JSON representation
Mackerel plugin to post bigquery's query result
- Host: GitHub
- URL: https://github.com/syou6162/mackerel-plugin-bigquery-query-result-importer
- Owner: syou6162
- Created: 2022-02-04T17:30:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T01:48:17.000Z (4 months ago)
- Last Synced: 2024-09-29T06:21:36.549Z (4 months ago)
- Topics: bigquery, mackerel-plugin
- Language: Go
- Homepage: https://www.yasuhisay.info/entry/mackerel-plugin-bigquery-query-result-importer
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mackerel-plugin-bigquery-query-result-importer
## Synopsis
```console
% mackerel-plugin-bigquery-query-result-importer --project_id PROJECT --graph_name GRAPH_NAME --query QUERY
```## Example of mackerel-agent.conf
Be careful about BigQuery Billing. Details and useful query examples are written in [blog entry](https://www.yasuhisay.info/entry/mackerel-plugin-bigquery-query-result-importer).```conf
[plugin.metrics.bigquery-query-result-importer]
command = "/path/to/mackerel-plugin-bigquery-query-result-importer --project_id my-project --graph_name bigquery_query_sample --query \"SELECT 'hoge' AS Label, 12.3 AS Value UNION ALL SELECT 'fuga' AS Label, 45.6 AS Value UNION ALL SELECT 'piyo' AS Label, 78.9 AS Value\""
```