Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create dashboard to track needsdiagnosis burndown #4

Closed
miketaylr opened this issue Mar 2, 2018 · 8 comments
Closed

Create dashboard to track needsdiagnosis burndown #4

miketaylr opened this issue Mar 2, 2018 · 8 comments

Comments

@miketaylr
Copy link
Member

Some good conversation in #2, but this issue scopes it to just needsdiagnosis.

@karlcow has a script at https://gist.github.com/karlcow/92347ffc71e5b59ba21cb3e061a76e59 which is cool.

@karlcow, can you send me the content of the needsdiagnosis.txt so i can bootstrap historical data into a db? i'll work on something that updates daily.

@miketaylr
Copy link
Member Author

OK! @magsout is gonna help me scaffold out the frontend for this, and I'll build the backend/database component. I'll file some bugs to track that.

@miketaylr
Copy link
Member Author

@karlcow
Copy link
Member

karlcow commented Mar 8, 2018

@miketaylr

can you send me the content of the needsdiagnosis.txt so i can bootstrap historical data into a db? i'll work on something that updates daily.

Yup I have been updating the comment in #2 every 2 days. I just updated the last week.
Check #2 (comment)

@miketaylr
Copy link
Member Author

Thanks @karlcow!

magsout added a commit that referenced this issue Apr 6, 2018
Issue #4 - added default configuration fetching API
magsout added a commit that referenced this issue Apr 10, 2018
Issue #4 - starting fetching API needsDiagnosis
@karlcow
Copy link
Member

karlcow commented Apr 26, 2018

@magsout In webcompat/webcompat-metrics-server#7
I'm exposing the data.
It follows the format we agreed on in webcompat/webcompat-metrics-server#3 (comment)

You can grab them at
http://www.la-grange.net/tmp/needsdiagnosis-timeline

This is just a static file for now. I will make it updated every hour very soon.
Design your client in a way where domain_name, path are variables. So we can change anytime these two parameters in hopefully a near future once we figured out webcompat/webcompat-metrics-server#1

@karlcow
Copy link
Member

karlcow commented Apr 26, 2018

→ http HEAD http://www.la-grange.net/tmp/needsdiagnosis-timeline

HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: Keep-Alive
Content-Length: 6410
Content-Location: needsdiagnosis-timeline.json
Content-Type: application/json
Date: Thu, 26 Apr 2018 04:49:29 GMT
ETag: "190a-56ab918f8b600;56ab90b062780"
Expires: Thu, 03 May 2018 04:49:29 GMT
Keep-Alive: timeout=5, max=100
Last-Modified: Thu, 26 Apr 2018 04:48:24 GMT
Server: Apache/2.4.29 (FreeBSD)
TCN: choice
Vary: negotiate

Ah yes. Significant details (I can change some of them to your convenience)

  • Content-Type: application/json I don't remember maybe I should do text/json
  • ETag: "190a-56ab918f8b600;56ab90b062780" This will change with each new release so it's a good way to poll if the data have changed (cache, etc.)
  • Expires: Thu, 03 May 2018 04:49:29 GMT for caching I could probably set it to expire in one hour time, once the next batch is ready.

Tell me if you need more things for the format or the HTTP headers.

@karlcow
Copy link
Member

karlcow commented Apr 27, 2018

This temporary URL is now updated hourly
http://www.la-grange.net/tmp/needsdiagnosis-timeline.json

magsout added a commit that referenced this issue May 8, 2018
Issue #4 - first draft of needsdiagnosis dashboard
@magsout
Copy link
Member

magsout commented Jun 20, 2018

DONE ;)

@magsout magsout closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants