Skip to content

Commit

Permalink
metrics format
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Aug 16, 2024
1 parent fa5ba3c commit b74e0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megalinter/reporters/ApiReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def build_metrics_payload(self):
if self.master.show_elapsed_time is True:
metric_line += f",elapsedTime={round(linter.elapsed_time_s, 2)}"
all_metrics_lines += [metric_line]
self.metrics_payload = ",".join(all_metrics_lines)
self.metrics_payload = "\n".join(all_metrics_lines)

def send_to_metrics_api(self):
session = requests.Session()
Expand Down

0 comments on commit b74e0b7

Please sign in to comment.