Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/shaggy-tigers-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---

feat: Add Python Runtime Metrics dashboard template
30 changes: 15 additions & 15 deletions packages/app/src/dashboardTemplates/dotnet-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"x": 0,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "GC Heap Size",
"source": "Metrics",
Expand Down Expand Up @@ -37,7 +37,7 @@
"x": 6,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "Exceptions",
"source": "Metrics",
Expand Down Expand Up @@ -66,7 +66,7 @@
"x": 12,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "GC Pause (s)",
"source": "Metrics",
Expand Down Expand Up @@ -95,7 +95,7 @@
"x": 18,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "ThreadPool Items",
"source": "Metrics",
Expand All @@ -122,7 +122,7 @@
{
"id": "98e92c",
"x": 0,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand All @@ -147,7 +147,7 @@
{
"id": "f6c44a",
"x": 12,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -176,7 +176,7 @@
{
"id": "e54085",
"x": 0,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -205,7 +205,7 @@
{
"id": "34979f",
"x": 12,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -234,7 +234,7 @@
{
"id": "6649b7",
"x": 0,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand All @@ -258,7 +258,7 @@
{
"id": "3a8add",
"x": 12,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -286,7 +286,7 @@
{
"id": "fdfdc8",
"x": 0,
"y": 24,
"y": 25,
"w": 12,
"h": 7,
"config": {
Expand All @@ -310,7 +310,7 @@
{
"id": "ebe6dc",
"x": 12,
"y": 24,
"y": 25,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -348,8 +348,8 @@
"expression": "ServiceName",
"source": "Metrics",
"sourceMetricType": "sum",
"where": "ResourceAttributes['telemetry.sdk.language'] = 'dotnet'",
"whereLanguage": "sql"
"where": "ResourceAttributes.telemetry.sdk.language:\"dotnet\"",
"whereLanguage": "lucene"
}
]
}
}
28 changes: 14 additions & 14 deletions packages/app/src/dashboardTemplates/go-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"x": 0,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "Memory Used",
"source": "Metrics",
Expand Down Expand Up @@ -37,7 +37,7 @@
"x": 6,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "Alloc Rate",
"source": "Metrics",
Expand Down Expand Up @@ -65,7 +65,7 @@
"x": 12,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "GC Heap Target",
"source": "Metrics",
Expand Down Expand Up @@ -93,7 +93,7 @@
"x": 18,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "CPU Utilization",
"source": "Metrics",
Expand All @@ -119,7 +119,7 @@
{
"id": "bbde66",
"x": 0,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -162,7 +162,7 @@
{
"id": "deb616",
"x": 12,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -190,7 +190,7 @@
{
"id": "432607",
"x": 0,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -218,7 +218,7 @@
{
"id": "08224d",
"x": 12,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand All @@ -242,7 +242,7 @@
{
"id": "fae8d7",
"x": 0,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -271,7 +271,7 @@
{
"id": "545a68",
"x": 12,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -300,7 +300,7 @@
{
"id": "c0fc04",
"x": 0,
"y": 24,
"y": 25,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -338,8 +338,8 @@
"expression": "ServiceName",
"source": "Metrics",
"sourceMetricType": "sum",
"where": "ResourceAttributes['telemetry.sdk.language'] = 'go'",
"whereLanguage": "sql"
"where": "ResourceAttributes.telemetry.sdk.language:\"go\"",
"whereLanguage": "lucene"
}
]
}
}
2 changes: 2 additions & 0 deletions packages/app/src/dashboardTemplates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import dotnetRuntime from './dotnet-runtime.json';
import goRuntime from './go-runtime.json';
import jvmRuntimeMetrics from './jvm-runtime-metrics.json';
import nodejsRuntime from './nodejs-runtime.json';
import pythonRuntime from './python-runtime.json';

function parseTemplate(
id: string,
Expand All @@ -26,6 +27,7 @@ const templates: Record<string, unknown> = {
'go-runtime': goRuntime,
'jvm-runtime-metrics': jvmRuntimeMetrics,
'nodejs-runtime': nodejsRuntime,
'python-runtime': pythonRuntime,
};

export const DASHBOARD_TEMPLATES = Object.entries(templates)
Expand Down
30 changes: 15 additions & 15 deletions packages/app/src/dashboardTemplates/jvm-runtime-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"x": 0,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "Heap Used",
"source": "Metrics",
Expand Down Expand Up @@ -39,7 +39,7 @@
"x": 6,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "CPU Utilization",
"source": "Metrics",
Expand Down Expand Up @@ -67,7 +67,7 @@
"x": 12,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "Thread Count",
"source": "Metrics",
Expand Down Expand Up @@ -96,7 +96,7 @@
"x": 18,
"y": 0,
"w": 6,
"h": 3,
"h": 4,
"config": {
"name": "CPU Count",
"source": "Metrics",
Expand All @@ -123,7 +123,7 @@
{
"id": "6363a5",
"x": 0,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -172,7 +172,7 @@
{
"id": "5abddd",
"x": 12,
"y": 3,
"y": 4,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -203,7 +203,7 @@
{
"id": "c4abeb",
"x": 0,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -234,7 +234,7 @@
{
"id": "26aa01",
"x": 12,
"y": 10,
"y": 11,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -265,7 +265,7 @@
{
"id": "ea6e2d",
"x": 0,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -293,7 +293,7 @@
{
"id": "bf01ef",
"x": 12,
"y": 17,
"y": 18,
"w": 12,
"h": 7,
"config": {
Expand All @@ -317,7 +317,7 @@
{
"id": "f90a9e",
"x": 0,
"y": 24,
"y": 25,
"w": 12,
"h": 7,
"config": {
Expand All @@ -342,7 +342,7 @@
{
"id": "17f41d",
"x": 12,
"y": 24,
"y": 25,
"w": 12,
"h": 7,
"config": {
Expand Down Expand Up @@ -380,8 +380,8 @@
"expression": "ServiceName",
"source": "Metrics",
"sourceMetricType": "sum",
"where": "ResourceAttributes['telemetry.sdk.language'] = 'java'",
"whereLanguage": "sql"
"where": "ResourceAttributes.telemetry.sdk.language:\"java\"",
"whereLanguage": "lucene"
}
]
}
}
Loading
Loading