mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vminsert: accept data on /insert/<accountID>/prometheus/api/v1/write
This commit is contained in:
parent
c3d73e347c
commit
31d6566aff
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) bool {
|
|||
}
|
||||
|
||||
switch p.Suffix {
|
||||
case "prometheus/", "prometheus":
|
||||
case "prometheus/", "prometheus", "prometheus/api/v1/write":
|
||||
prometheusWriteRequests.Inc()
|
||||
if err := prometheus.InsertHandler(at, r, int64(*maxInsertRequestSize)); err != nil {
|
||||
prometheusWriteErrors.Inc()
|
||||
|
|
Loading…
Reference in a new issue