File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ func (s *Stats) handleFrontend(stats *models.NativeStat) {
113113 targetService := strings .TrimPrefix (stats .Name , "front_" )
114114
115115 if targetService == "downstream" {
116- reqInRate .WithLabelValues (s .service ).Set (statVal (stats .Stats .Rate ))
116+ reqInRate .WithLabelValues (s .service ).Set (statVal (stats .Stats .ReqRate ))
117117 connInCount .WithLabelValues (s .service ).Set (statVal (stats .Stats .Scur ))
118118 bytesInIn .WithLabelValues (s .service ).Set (statVal (stats .Stats .Bin ))
119119 bytesOutIn .WithLabelValues (s .service ).Set (statVal (stats .Stats .Bout ))
@@ -125,7 +125,7 @@ func (s *Stats) handleFrontend(stats *models.NativeStat) {
125125 resInTotal .WithLabelValues (s .service , "5xx" ).Set (statVal (stats .Stats .Hrsp5xx ))
126126 resInTotal .WithLabelValues (s .service , "other" ).Set (statVal (stats .Stats .HrspOther ))
127127 } else {
128- reqOutRate .WithLabelValues (s .service , targetService ).Set (statVal (stats .Stats .Rate ))
128+ reqOutRate .WithLabelValues (s .service , targetService ).Set (statVal (stats .Stats .ReqRate ))
129129 connOutCount .WithLabelValues (s .service , targetService ).Set (statVal (stats .Stats .Scur ))
130130 bytesInOut .WithLabelValues (s .service , targetService ).Set (statVal (stats .Stats .Bin ))
131131 bytesOutOut .WithLabelValues (s .service , targetService ).Set (statVal (stats .Stats .Bout ))
You can’t perform that action at this time.
0 commit comments