Skip to content

Latest commit

 

History

History

otel-custom-metrics-exporter

Introduction

An example showing how to configure io.Manager to use a custom OpenTelemetry metrics exporter

Prerequisites

Database

io.Manager requires a database to connect to - this example uses MongoDB, but you can use any other of the supported databases. You will need to either have a local instance or setup a remote database to connect to. For more information visit our Documentation page on the subject: https://docs.interop.io/manager/databases/overview/index.html

interop.io Artifactory

Before you begin you need to add .npmrc file with the following content into this directory (placeholders can be filled in after setting up JFrog account)

@interopio:registry=https://glue42.jfrog.io/artifactory/api/npm/default-npm-virtual/
//glue42.jfrog.io/artifactory/api/npm/:_auth=<COPY_FROM_JFROG_SETUP>
//glue42.jfrog.io/artifactory/api/npm/default-npm-virtual/:username=<COPY_FROM_JFROG_SETUP>
//glue42.jfrog.io/artifactory/api/npm/default-npm-virtual/:email=<COPY_FROM_JFROG_SETUP>
//glue42.jfrog.io/artifactory/api/npm/default-npm-virtual/:always-auth=true

How to run

  • Install npm packages
npm install
  • Start the server
npm run start