JSPM

  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q73659F
  • License ISC

GruCloud Module for prometheus

Package Exports

  • @grucloud/module-k8s-prometheus

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@grucloud/module-k8s-prometheus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GruCloud module for Prometheus

This GruCloud module allows to deploy Prometheus

How to consume this module

npm i @grucloud/module-k8s-prometheus

In your iac.js file, import the package:

const PostgresOperator = require("@grucloud/module-k8s-prometheus");

Invoke the createResources function with a K8sProvider instance

const prometheusResources = await Prometheus.createResources({
  provider,
});

Examples

Have a look at the example

Release a new version

Modify the manifest version from the download-manifest scripts sections of the package.json.

Run the download-manifest npm script:

npm run download-manifest

Run the k8s-manifest2code to generate the new resource.js:

npm run gen-code

Ready for testing ? Go to the example