d2statcollector's People
d2statcollector's Issues
[Q&A] - PVP - KDA metrics
Implement Logging
Rework the logging and implement good non-spammy logging.
We probably do not need a lot of text, but enough info to see what went wrong (in case anything went wrong).
UI for InfluxDB
Im not able to connect to the WebUI of the influxDB installed though this process (http://d2stat-influxdb:8086/) -- i was hoping that i could get to some sort of data dictionary to start making more Grafina charts.
is there any way to get to the Web Ui of influxDB?
[Enhancement] - add Best Dressed to Commendation Ratio Logic
Provide InfluxDB retention policies
We shall provide InfluxDB retention policies to improve data storage over a long timespan.
- Discuss if you can do this automatically (in the docker compose file/s)
- Discuss which policies make the most sense.
- Keep #6 in mind.
Also log metrics for "medals".
The API also has information about medals. Add these to the metric collector too.
importing example uses legacy UID
If you import your example dashboard into Grafana, you have to replace its uid "I9EdXRL4z" with the newly installed DB uid.
to do that, create a temporary new dashboard, edit it and view its JSON and copy that UID.
Go back to the imported "User stats" dashboard and edit that -- find and replace "I9EdXRL4z" (CTRL+H) with the uid you just got from the temp dashboard.
Save.
Then it will show your dashboard!
Update to InfluxDB 2
Right now, I use InfluxDB 1.8. We should update this to 2.x.
Goals of this issue:
- Update InfluxDB to 2.x
- Update the StatCollector to send to InfluxDB 2.x
- Present a simple way to migrate data from the old InfluxDB to the new one.
[Q&A] - Home Assistant Grafana and InfluxDB
(Must have HACS installed)
Id like to use Home assistant because you can add the plugin for Grafana and influxDB from the Add-ons in Home assistant shown here:
be sure to then toggle the "Show inside bar" for each
Start by goign to the WebUI of InfluxDB and under InfluxDB Admin create the new DB "D2StatCollector"
I made two users: "Admin" with full privileges and a "viewer_user" with read only privileges to the "D2StatCollector" database.
Jump over to the Grafana tab and "Add your first datasource"
This next part I wasn't sure of how to go about doing so i tried this and it seemed to work -- if you have a better way -- would love to hear it.
Import Mijago's dashboard template -- we'll need ot edit the JSON and do a CTRL+H (find and replace) the datasource type value and put in D2StatCollector -- im also certain that the uid has to be updated as well.
once you have that corrected for your setup. The dashbaord should look like this:
todo: the fancy bits. (i should make more coffee)
Not all data showing up in Dashboard
cmd vs Powershell
Error Handling
Implement good error handling and log it somewhere.
This must also take the following into account:
- API is down for maintenance
- API is ratelimiting us
- Any other error
Provide more Grafana dashboard examples
Improve thread handling
The threading right now has some issues that need to be taken care of:
- We start the threads, but we do not keep track of them.
- We start one thread for every clan and member. While this is fine (as the API limits us nonetheless), this can probably be optimized.
Be more merciful to the API
I do not want to be too aggressive with the Bungie API.
We should reduce the amount of calls made in a short timespan.
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.