From d0b97de2ba8c2193e5dc4ab2dab2d8f812d40675 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Thu, 26 Sep 2024 20:59:52 +0700 Subject: [PATCH] Add ndc-prometheus v0.0.4 (#303) --- registry/hasura/prometheus/README.md | 20 ++++++++ registry/hasura/prometheus/logo.svg | 50 +++++++++++++++++++ registry/hasura/prometheus/metadata.json | 28 +++++++++++ .../releases/v0.0.4/connector-packaging.json | 11 ++++ 4 files changed, 109 insertions(+) create mode 100644 registry/hasura/prometheus/README.md create mode 100644 registry/hasura/prometheus/logo.svg create mode 100644 registry/hasura/prometheus/metadata.json create mode 100644 registry/hasura/prometheus/releases/v0.0.4/connector-packaging.json diff --git a/registry/hasura/prometheus/README.md b/registry/hasura/prometheus/README.md new file mode 100644 index 00000000..e4d1c7ed --- /dev/null +++ b/registry/hasura/prometheus/README.md @@ -0,0 +1,20 @@ +## Overview + +The Hasura Prometheus Connector allows for connecting Hasura to a Prometheus API server giving you an instant GraphQL API on top of your Prometheus data. + +Data Connectors are the way to connect the Hasura Data Delivery Network (DDN) to external data sources. A data connector is an HTTP service that exposes a set of APIs that Hasura uses to communicate with the data source. Data connectors are built to conform to the [NDC Specification](https://hasura.github.io/ndc-spec/overview.html) using one of Hasura's available SDKs. The data connector is responsible for interpreting work to be done on behalf of the Hasura Engine, using the native query language of the data source. + +The data connector is open source and can be found in the [ndc-prometheus GitHub repository](https://github.com/hasura/ndc-prometheus). + +## Deployment + +The connector is hosted by Hasura and can be used from the [Hasura v3 Console](https://console.hasura.io). + +## Usage + +The Hasura Prometheus connector can be deployed using the [Hasura CLI](https://hasura.io/docs/3.0/cli/overview) by following either the [Quick Start Guide](https://hasura.io/docs/3.0/getting-started/overview/) or [deploying the connector](https://hasura.io/docs/3.0/connectors/deployment). + +## Troubleshooting + +Please [submit a Github issue](https://github.com/hasura/ndc-prometheus/issues/new) +if you encounter any problems! diff --git a/registry/hasura/prometheus/logo.svg b/registry/hasura/prometheus/logo.svg new file mode 100644 index 00000000..5c51f66d --- /dev/null +++ b/registry/hasura/prometheus/logo.svg @@ -0,0 +1,50 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/registry/hasura/prometheus/metadata.json b/registry/hasura/prometheus/metadata.json new file mode 100644 index 00000000..3a70b4b9 --- /dev/null +++ b/registry/hasura/prometheus/metadata.json @@ -0,0 +1,28 @@ +{ + "overview": { + "namespace": "hasura", + "description": "Connect Hasura DDN to a Prometheus API server", + "title": "Prometheus Data Connector", + "logo": "logo.svg", + "tags": ["database"], + "latest_version": "v0.0.4" + }, + "author": { + "support_email": "support@hasura.io", + "homepage": "https://hasura.io", + "name": "Hasura" + }, + "is_verified": true, + "is_hosted_by_hasura": true, + "source_code": { + "is_open_source": true, + "repository": "https://github.com/hasura/ndc-prometheus", + "version": [ + { + "tag": "v0.0.4", + "hash": "69915e6c9736f38a0952c5ce8ad9a2d180783a43", + "is_verified": true + } + ] + } +} diff --git a/registry/hasura/prometheus/releases/v0.0.4/connector-packaging.json b/registry/hasura/prometheus/releases/v0.0.4/connector-packaging.json new file mode 100644 index 00000000..566010dc --- /dev/null +++ b/registry/hasura/prometheus/releases/v0.0.4/connector-packaging.json @@ -0,0 +1,11 @@ +{ + "version": "v0.0.4", + "uri": "https://github.com/hasura/ndc-prometheus/releases/download/v0.0.4/connector-definition.tgz", + "checksum": { + "type": "sha256", + "value": "83acab73b703ff37c6322b990e2782331cffbfe64bf67fb0b2734b3f651689d9" + }, + "source": { + "hash": "69915e6c9736f38a0952c5ce8ad9a2d180783a43" + } +}