Comments (2)
@zarembat everytime the task is retried the start_date will get updated to the current time. so there is no way to know the time range for the older tries. so we query for the last 15 days.
if we retry the task after say 30 days. then it won't be possible to get the logs for the older task tries.
i agree that we can make the range offset configurable.
please feel free to open a PR with the changes or i will make the changes when i get a chance.
from airflow-provider-grafana-loki.
I found that you can change Loki setting split_queries_by_interval
. The default value is 15m which means every query sends to loki splits into 15 * 24 * 4 (1440) sub queries. I changed to 24h in my environment and it helps a lot.
from airflow-provider-grafana-loki.
Related Issues (10)
- No module named 'airflow.providers.grafana_loki_provider' HOT 2
- Not pushing logs to Loki HOT 12
- Add custom labels to pushed logs HOT 2
- Configurable log reading range HOT 1
- Error viewing logs in UI HOT 35
- Debug: Error viewing logs when running in airflow standlone mode HOT 2
- Plugin does not work with Python 3.7 (cannot import name 'cached_property' from 'functools') HOT 2
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'datetime.timedelta' HOT 1
- Grafana Loki (Loki) connection hook HOT 1
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 airflow-provider-grafana-loki.