Skip to content

Commit

Permalink
fix PushGoDirectMetrics custom marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjiazhu committed Nov 13, 2024
1 parent 3f06604 commit 1610281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/monitor/MetricExportor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void MetricExportor::PushGoDirectMetrics(std::vector<std::map<std::string, std::
SendToLocalFile(metricsContent, "self-metrics-go");
} else if ("custom" == STRING_FLAG(metrics_report_method)) {
std::string metricsContent;
GetReadMetrics()->ReadAsCustomizedProtocol(metricsContent);
GetReadMetrics()->SerializeMetricsToString(metricsList, metricsContent);
GetProfileSender()->SendMetricContent(metricsContent);
}
}
Expand Down

0 comments on commit 1610281

Please sign in to comment.