Comments (2)
I agree with @tredondo, prometheus is limited with seconds when it comes to big numbers.
For example, query directly via the API with step of 1 week works well with 1w
but doesn't work with 604,800s
which is the same period in seconds. Therefore, there must be a way of passing it as a parameter.
from prometheus-query-js.
Thanks for your feedback.
I made a fix in v3.3.0 ;)
from prometheus-query-js.
Related Issues (15)
- Getting unexpected_error when trying to query Prometheus HOT 11
- Does this package support Request interceptor? HOT 2
- Refused to set unsafe header "Accept-Encoding" HOT 3
- Use HTTPS-capable prometheus.demo.do.prometheus.io in examples HOT 1
- alerts() returns undefined for state HOT 1
- Errors of Prometheus are not handled HOT 2
- link github on npm HOT 1
- Incompatible with node v17 HOT 5
- Add support for data push HOT 1
- add support for jwt-token HOT 1
- Username/password in auth parameter not used
- Add more details to `unexpected client error` error handling HOT 4
- How to set the rate interval in the PROMQL similar to $__rate_interval by grafana. HOT 3
- Typescript support? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-query-js.