Skip to content

Commit

Permalink
Merge branch 'release' into andrew/data-source-keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Anguiano authored Jul 10, 2024
2 parents 0270676 + 269e82d commit 665daab
Show file tree
Hide file tree
Showing 9 changed files with 264 additions and 0 deletions.
216 changes: 216 additions & 0 deletions dashboards/traceloop/traceloop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"name": "traceloop",
"description": null,
"pages": [
{
"name": "traceloop",
"description": null,
"widgets": [
{
"title": "",
"layout": {
"column": 1,
"row": 1,
"width": 2,
"height": 2
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "![New Relic logo](https://avatars.githubusercontent.com/u/125419530?s=200&v=4)"
}
},
{
"title": "Used Completion Tokens",
"layout": {
"column": 3,
"row": 1,
"width": 5,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT sum(gen_ai.usage.completion_tokens) as 'Total Completion Tokens' FROM Span TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "Used Prompt Tokens",
"layout": {
"column": 8,
"row": 1,
"width": 5,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT sum(gen_ai.usage.prompt_tokens) as 'Total Prompt Tokens' FROM Span TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "",
"layout": {
"column": 1,
"row": 3,
"width": 2,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "**About**\n\nInstrument Traceloop LLM observability with New Relic - [Add Data](https://one.newrelic.com/)\n\nFollow New Relic [Traceloop](https://docs.newrelic.com/docs/opentelemetry/get-started/traceloop-llm-observability/traceloop-llm-observability-intro/) documentation to instrument Traceloop LLM observability.\n\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=Traceloop&entry.358368110=https://onenr.io/0dQeLbY0Yje) here and let us know how we can improve it for you."
}
},
{
"title": "Total LLM Used Totens",
"layout": {
"column": 3,
"row": 4,
"width": 5,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT sum(llm.usage.total_tokens) as 'Total Tokens' FROM Span TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "Request Temperature",
"layout": {
"column": 8,
"row": 4,
"width": 5,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.table"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT gen_ai.request.temperature FROM Span"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Request Model",
"layout": {
"column": 3,
"row": 7,
"width": 5,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.table"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT gen_ai.request.model FROM Span"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
}
]
}
],
"variables": []
}
Binary file added dashboards/traceloop/traceloop01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboards/traceloop/traceloop02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboards/traceloop/traceloop03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboards/traceloop/traceloop04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions data-sources/traceloop/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
id: traceloop
displayName: Traceloop
description: |
Monitor and analyze your Traceloop LLM observability with New Relic.
icon: logo.png
install:
primary:
link:
url: https://docs.newrelic.com/docs/opentelemetry/get-started/traceloop-llm-observability/traceloop-llm-observability-intro/
keywords:
- traceloop
- traceloop llm observability
- llm observability
Binary file added data-sources/traceloop/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions quickstarts/traceloop/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
slug: traceloop
description: |
## Why monitor Traceloop?
Monitoring Traceloop provides valuable insights into the performance and quality of your Large Language Model (LLM) applications.
## Comprehensive monitoring quickstart for Traceloop
Monitoring Traceloop LLM observability will allow you to effectively track Gen AI completion tokens, prompt tokens, total llm used tokens, model name, and temperature, while utilizing New Relic's application performance monitoring features to gain deep insights into application behavior, transaction traces, enabling users to obtain a holistic view of application performance.
## What’s included in this quickstart?
New Relic Traceloop LLM observability monitoring quickstart provides quality out-of-the-box reporting:
- Dashboards (completion tokens, prompt tokens, total llm used tokens, model name, and temperature etc)
summary: |
Monitor and analyze your Traceloop LLM observability with New Relic.
icon: logo.png
level: New Relic
authors:
- New Relic
- Srikanth Pathlavath
title: Traceloop
documentation:
- name: traceloop integration documentation
description: |
Monitoring Traceloop LLM observability with New Relic to gain deep insights into your performance.
url: https://docs.newrelic.com/docs/opentelemetry/get-started/traceloop-llm-observability/traceloop-llm-observability-intro/
keywords:
- traceloop
- traceloop llm observability
- llm observability
- NR1_addData
- NR1_sys
dataSourceIds:
- traceloop
dashboards:
- traceloop
Binary file added quickstarts/traceloop/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 665daab

Please sign in to comment.