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
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,24 @@ const OVERVIEW_TABLE = {
fields: [
SpanFields.SPAN_DESCRIPTION,
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
aggregates: [
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
columns: [SpanFields.SPAN_DESCRIPTION],
fieldAliases: [
t('Span Description'),
t('Requests'),
t('Errors'),
t('Error Rate'),
t('Errors'),
t('Avg'),
t('P95'),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,24 @@ const PROMPTS_TABLE = {
fields: [
SpanFields.MCP_PROMPT_NAME,
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
aggregates: [
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
columns: [SpanFields.MCP_PROMPT_NAME],
fieldAliases: [
t('Prompt Name'),
t('Requests'),
t('Errors'),
t('Error Rate'),
t('Errors'),
t('Avg'),
t('P95'),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,24 @@ const RESOURCES_TABLE = {
fields: [
SpanFields.MCP_RESOURCE_URI,
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
aggregates: [
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
columns: [SpanFields.MCP_RESOURCE_URI],
fieldAliases: [
t('Resource URI'),
t('Requests'),
t('Errors'),
t('Error Rate'),
t('Errors'),
t('Avg'),
t('P95'),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,24 @@ const TOOLS_TABLE = {
fields: [
SpanFields.MCP_TOOL_NAME,
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
aggregates: [
'count()',
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`${SpanFunction.FAILURE_RATE}()`,
`count_if(${SpanFields.SPAN_STATUS},equals,internal_error)`,
`avg(${SpanFields.SPAN_DURATION})`,
`p95(${SpanFields.SPAN_DURATION})`,
],
columns: [SpanFields.MCP_TOOL_NAME],
fieldAliases: [
t('Tool Name'),
t('Requests'),
t('Errors'),
t('Error Rate'),
t('Errors'),
t('Avg'),
t('P95'),
],
Expand Down
Loading