From 5c4425d96b7b6b84ffee4959d5c4f376cf3bc914 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Wed, 25 Sep 2024 15:56:57 +0700 Subject: [PATCH] add ndc-prometheus --- registry/hasura/prometheus/README.md | 20 ++++++++ registry/hasura/prometheus/logo.svg | 50 +++++++++++++++++++ registry/hasura/prometheus/metadata.json | 28 +++++++++++ .../releases/v0.0.2/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.2/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..d3949fad --- /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.2" + }, + "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.2", + "hash": "9eb51c3e4c76abd437e6f6f33ffbb8870474e56c", + "is_verified": true + } + ] + } +} diff --git a/registry/hasura/prometheus/releases/v0.0.2/connector-packaging.json b/registry/hasura/prometheus/releases/v0.0.2/connector-packaging.json new file mode 100644 index 00000000..6ad57301 --- /dev/null +++ b/registry/hasura/prometheus/releases/v0.0.2/connector-packaging.json @@ -0,0 +1,11 @@ +{ + "version": "v0.0.2", + "uri": "https://github.com/hasura/ndc-prometheus/releases/download/v0.0.2/connector-definition.tgz", + "checksum": { + "type": "sha256", + "value": "272314da8e684213547c2daaa64ef2d1c3d8758b6fdd7b31ab8783dbaee4e08f" + }, + "source": { + "hash": "9eb51c3e4c76abd437e6f6f33ffbb8870474e56c" + } +}