Coder Social home page Coder Social logo

Comments (9)

akvlad avatar akvlad commented on June 2, 2024 1
endpoint = "https://localhost:8087/api/v1/write"

It's a strange endpoint in the vector example.
The route we have this interceptor is: /api/prom/remote/write.
I'll retest vector and ask @lmangani if we should add an alias /api/v1/write -> `/api/prom/remote/write``

For now please try to change the endpoint route to /api/prom/remote/write.

from qryn.

tsearle avatar tsearle commented on June 2, 2024

POST /api/v1/prom/write HTTP/1.1.
x-prometheus-remote-write-version: 0.1.0.
content-encoding: snappy.
content-type: application/x-protobuf.
user-agent: Vector/0.33.1 (x86_64-unknown-linux-gnu 3cc27b9 2023-10-30 16:50:49.747931844).
accept-encoding: identity.
host: localhost:3100.
content-length: 1825.

from qryn.

lmangani avatar lmangani commented on June 2, 2024

@tsearle our supported APIs are documented here

There are indeed many aliases from the various platforms, and we'd be glad to add any established aliases in qryn

from qryn.

lmangani avatar lmangani commented on June 2, 2024

@tsearle could you confirm the last results + version of vector you are using for us to reproduce this fully?

from qryn.

tsearle avatar tsearle commented on June 2, 2024

still no difference

Nov 08 10:18:06 ip-10-150-3-90 qryn[594]: {"level":30,"time":1699438686447,"pid":594,"hostname":"ip-10-150-3-90","name":"qryn","reqId":"req-103d","req":{"method":"GET","url":"/api/prom/remote/write","hostname":"localhost:3100","remoteAddress":"127.0.0.1","remotePort":48828},"msg":"incoming request"} Nov 08 10:18:06 ip-10-150-3-90 qryn[594]: {"level":50,"time":1699438686448,"pid":594,"hostname":"ip-10-150-3-90","name":"qryn","reqId":"req-103d","err":"Unsupported Content-Encoding: snappy\nFastifyCompressError: Unsupported Content-Encoding: snappy\n at Object.preParsing (/usr/lib/node_modules/qryn/node_modules/@fastify/compress/index.js:322:24)\n at next (/usr/lib/node_modules/qryn/node_modules/fastify/lib>

from qryn.

tsearle avatar tsearle commented on June 2, 2024

vector 0.33.1-1 amd64

running on debian 12

from qryn.

lmangani avatar lmangani commented on June 2, 2024

Thanks @tsearle the issue was related to the healthcheck performed by the latest vector
@akvlad provided a fix with #380 available in qryn:3.0.11

from qryn.

lmangani avatar lmangani commented on June 2, 2024

@all-contributors please add @tsearle for testing

from qryn.

allcontributors avatar allcontributors commented on June 2, 2024

@lmangani

I've put up a pull request to add @tsearle! 🎉

from qryn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.