Skip to content

Commit

Permalink
add metricstore send support
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLjp committed Mar 27, 2024
1 parent 7308c54 commit b22db82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (s *LogStore) PostMetricStoreLogs(lg *LogGroup) (err error) {
}
outLen = len(out)
}
uri := fmt.Sprintf("/prometheus/%s/%s/api/vi/write", s.project.Name, s.Name)
uri := fmt.Sprintf("/prometheus/%s/%s/api/v1/write", s.project.Name, s.Name)
r, err := request(s.project, "POST", uri, h, out[:outLen])
if err != nil {
return NewClientError(err)
Expand Down

0 comments on commit b22db82

Please sign in to comment.