mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-30 02:22:00 +08:00
Merge pull request #74 from SigNoz/update-err-chart-title
Change title in Error chart in ServiceOverview
This commit is contained in:
commit
3ef7b10f5b
@ -206,7 +206,7 @@ class ErrorRateChart extends React.Component<ErrorRateChartProps> {
|
||||
labels: ndata.map((s) => new Date(s.timestamp / 1000000)), // converting from nano second to mili second
|
||||
datasets: [
|
||||
{
|
||||
label: "",
|
||||
label: "Error Percentage (%)",
|
||||
data: ndata.map((s) => s.errorRate),
|
||||
pointRadius: 0.5,
|
||||
borderColor: "rgba(227, 74, 51,1)", // Can also add transparency in border color
|
||||
@ -219,7 +219,7 @@ class ErrorRateChart extends React.Component<ErrorRateChartProps> {
|
||||
return (
|
||||
<div>
|
||||
{this.GraphTracePopUp()}
|
||||
<div style={{ textAlign: "center" }}>Errors per sec</div>
|
||||
<div style={{ textAlign: "center" }}>Error Percentage (%)</div>
|
||||
<ChartJSLine
|
||||
ref={this.chartRef}
|
||||
data={data_chartJS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user