Skip to content

Commit

Permalink
Wrong api endpoiont in fluent-plugin-grafana-loki
Browse files Browse the repository at this point in the history
Closes: grafana#1307
  • Loading branch information
dawidmalina authored Nov 27, 2019
1 parent 125cfbf commit 434cf8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def write(chunk)
body = { 'streams' => payload }

# add ingest path to loki url
uri = URI.parse(url + '/api/prom/push')
uri = URI.parse(url + '/loki/api/v1/push')

req = Net::HTTP::Post.new(
uri.request_uri
Expand Down

0 comments on commit 434cf8b

Please sign in to comment.