Skip to content

Commit

Permalink
add ndc-prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Sep 25, 2024
1 parent 79f6e2e commit 5c4425d
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.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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 5c4425d

Please sign in to comment.