• /
  • Log in
  • Free account

DagsHub MLOps integration

DagsHub is a platform for data scientists and machine learning engineers to version and sync their data, models, experiments, and code. It allows you and your team to easily share, review and reuse your work, providing a GitHub-like experience for machine learning. DagsHub is built on popular open-source tools and formats, making it easy to integrate with the tools you already use like New Relic.

New Relic now offers an MLOps integration with DagsHub to monitor and analyze your machine learning training metrics in real-time.

Integrate DagsHub with New Relic

Integrating DagsHub and New Relic enables you to analyze and monitor machine learning training metrics in real-time. You can visualize your metrics in a New Relic dashboard, create custom metrics, and set alerts to notify you of events and incidents happening during your training runs.

In order to receive data from DagsHub into New Relic, you need your account number and a special key which you can obtain as follows:

  1. Log into your New Relic account: Go to one.newrelic.com, and click Explorer. On the upper hand right corner, on the main navigation menu, click on +Add more data.
  2. Click on DagsHub: Type DagsHub in the search bar, or scroll down to the MLOps Integration section, and click the DagsHub icon.
  3. Select the account ID you want DagsHub to integrate with.
  4. Create an access token: Once you've selected an account ID, under real-time training metrics, click Create an API key . This will be your new telemetry API key. Keep the New Relic page open for future steps.
  5. Log into the DagsHub portal: Once logged in, select the repository you're working on. Click Settings, and select the integrations button from the left hand menu. Click on the New Relic tile.
  6. Copy and paste the token in DagsHub. Go back to the New Relic integration dashboard and copy the token you created by clicking on the copy icon next to the insert key. On the DagsHub’s portal, paste the insert key under New Relic Insight insert key, and finish by clicking Next. The token will be verified, and a confirmation screen will appear.

View and explore your DagsHub models in New Relic dashboards

Once you configure the New Relic integration in DagsHub, all the training metrics logged to DagsHub in real time are sent to New Relic.

  1. Go to the DagsHub integration dashboard: Once you’ve tested your tokens and confirmed the integration is set up correctly, return to the New Relic integration dashboard and click on See your data. You will be redirected to an automatically generated New Relic dashboard powered by DagsHub.
  2. Analyze the DagsHub dashboard: The DagsHub dashboard contains one chart, Loss metric by repository, which displays the loss of your models, grouped by their respective repository. It works for any models that you have trained.

Analyze Dagshub dashboard.

  1. Display customized metrics: You can easily customize training metrics coming from DagsHub. For more information on using NRQL and creating queries to track your data, refer to NRQL syntax, clauses, and functions.
  2. Set up alerts notifications: Once you've created some charts inside a Dashboard(s), you can get alerted on your data. To create NRQL alerts conditions from a chart, click the ... chart menu, then click Create alert condition. Once you've named and customized your condition, you can add it to an existing policy, or create a new one.
  3. Get notified: Once you've created an alerts condition, you can choose how you want to be notified. See our docs on how to set up notification channels.

You’ve now successfully integrated New Relic with DagsHub. Newly created alerts are correlated with your New Relic alerts, and you'll see data about newly reported predictions.

Create issueEdit page
Copyright © 2022 New Relic Inc.