Skip to content

Commit

Permalink
Add ndc-prometheus v0.0.4 (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac authored Sep 26, 2024
1 parent da87c6c commit d0b97de
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 0 deletions.
20 changes: 20 additions & 0 deletions registry/hasura/prometheus/README.md
Original file line number Diff line number Diff line change
@@ -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!
50 changes: 50 additions & 0 deletions registry/hasura/prometheus/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions registry/hasura/prometheus/metadata.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit d0b97de

Please sign in to comment.