Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
SigNoz
Commits
63f0eadb
Commit
63f0eadb
authored
4 years ago
by
dhrubesh
Browse files
Options
Download
Email Patches
Plain Diff
fixes error percentage key
parent
25803e66
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/modules/Metrics/ServiceMetrics.tsx
+1
-1
frontend/src/modules/Metrics/ServiceMetrics.tsx
frontend/src/store/actions/metrics.ts
+5
-3
frontend/src/store/actions/metrics.ts
with
6 additions
and
4 deletions
+6
-4
frontend/src/modules/Metrics/ServiceMetrics.tsx
+
1
-
1
View file @
63f0eadb
...
...
@@ -115,7 +115,7 @@ const _ServiceMetrics = (props: ServicesMetricsProps) => {
<
ExternalApiGraph
title
=
"External Call Error Percentage (%)"
keyIdentifier
=
"externalHttpUrl"
dataIdentifier
=
"
numCalls
"
dataIdentifier
=
"
errorRate
"
data
=
{
props
.
externalErrCodeMetrics
}
/>
</
Card
>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/store/actions/metrics.ts
+
5
-
3
View file @
63f0eadb
...
...
@@ -33,9 +33,9 @@ export interface externalMetricsAvgDurationItem {
}
export
interface
externalErrCodeMetricsItem
{
call
Rate
:
number
;
error
Rate
:
number
;
externalHttpUrl
:
string
;
num
Call
s
:
number
;
num
Error
s
:
number
;
timestamp
:
number
;
}
export
interface
topEndpointListItem
{
...
...
@@ -131,7 +131,9 @@ export const getDbOverViewMetrics = (
"
&end=
"
+
globalTime
.
maxTime
+
"
&step=60
"
;
const
response
=
await
api
.
get
<
dbOverviewMetricsItem
[]
>
(
apiV1
+
request_string
);
const
response
=
await
api
.
get
<
dbOverviewMetricsItem
[]
>
(
apiV1
+
request_string
,
);
dispatch
<
getDbOverViewMetricsAction
>
({
type
:
ActionTypes
.
getDbOverviewMetrics
,
payload
:
response
.
data
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help