Comments (6)
Thank you very much for your reply, I'm very interested in this project, I've only read some code so far because api/views.py
is too long and some parts are a bit verbose. Please forgive me if there are some parts I didn't read carefully.
I guess what we are missing is a dashboard to view or manage apprise call logs, nginx logs do do that but obviously not easy to manage.
On the other hand, apprise calls can fail and we need these logs to troubleshoot problems. Adding a retry mechanism to include a queue seems to run counter to the lightweight design.
Maybe I need to reconsider it ....
from apprise-api.
Any plans to add persistent profiles and send records?
from apprise-api.
Sorry for the delays. It's not that I'm ignoring you. I just haven't had time to have a further look into this. Hopefully on the weekend that will change.
Any plans to add persistent profiles and send records?
Persistent storage already exists. But I guess you mean enabling Django Auth and hide them behind accounts?
As per the logs, this is doable but I would think Python logging to disk might not be as efficient as maybe just letting nginx write to the same persistent storage location as the //config
maybe instead? That way it's just available to the administrator?
from apprise-api.
No need to reconsider; I love feedback.
I just need to think about it a bit more. The problem is that there already is logging in place but it's at the web hosting level. I get that you'd like to gather more usage statistics i think...
- query made
- how many services were notified
- when and using which key
- how many failed, etc
This is the kind of useful stuff that would go into a database or some key/value store (nosql) solution. With a backend, then you can also add user authentication, etc. Quiet honestly even a message broker would be useful so that the notifications are sent/handled after your POST request (not during).
I'll ponder just the logging idea; but with the current design; i can't think of a simple way to do it (without starting the steps identified above). Consider that there could be concurrent hits for notification to be sent as well. So just writing to a view-able log file (retrievable through a Django view) would involve semaphore/mutex (locking) etc which may not be the most ideal approach.
Those are just my thoughts out loud though... 🙂
from apprise-api.
Thanks a lot @caronc , it's really not necessary to integrate too much in apprise-api
, but providing data for prometheus seems to work, I'll try it sometime.😊
from apprise-api.
This request aligns with #143
from apprise-api.
Related Issues (20)
- Bug with tags with apprise cli HOT 3
- Where to store custom hooks using Docker? HOT 4
- Apprise:// not working with or without tags HOT 3
- Is there a timeout for calls to `notify()`? HOT 2
- docker hub 1.2.0 HOT 3
- Apprise eats tons of resources for what it does? HOT 14
- Non-latin symbols processing HOT 9
- JSON API call to /notify/key fails HOT 1
- How to secure requests to a public Apprise instance HOT 4
- Apprise & IPv6 HOT 14
- Add a configuration option for attachment limit HOT 4
- Tags AND, OR logic not working as expected HOT 8
- Question about inconsistency in the tag(s) parameter for apprise-api HOT 2
- Prometheus endpoint HOT 2
- Groups are not working with Apprise-API HOT 1
- docker compose error HOT 2
- Add Prometheus Metrics HOT 1
- Does the api support ntfy file attachments? HOT 10
- django.request: Failed Dependency Explanation HOT 4
- receiving outside web hook messages HOT 19
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 apprise-api.