Coder Social home page Coder Social logo

stathat-issues's People

Contributors

patrickxb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

stathat-issues's Issues

Unable to add any new stats

When I use the New stat form I get a system error. When I try to submit data for a new statistic using the cURL example I get a successful response, but no graph appears even after a couple of hours of submitting one request per minute.

Existing statistics appear to be unaffected.

Cannot share stats publically

The "share" functionality seems to be broken. When I click "share" the modal suggests to copy a public URL, but no URL is present:

Screenshot 2022-04-26 at 11 07 42

Status code mismatch between JSON response and HTTP status

{:status 200, 
 :headers {"Content-Type" "application/json", "Date" "Fri, 24 Mar 2017 09:53:54 GMT", "Content-Length" "41", "Connection" "Close"}, 
 :body "{\"status\":500,\"msg\":\"no ezkey specified\"}", 
 :request-time 734, 
 :trace-redirects ["https://api.stathat.com/ez"], 
 :orig-content-encoding nil}

When posting without a proper ezkey (made a typo) I got a 200 status code but the body indicated 500. It would be helpful if these two don't differ I think?

Stathat not displaying graphs

Hello Stathat,

Our stathat account is not displaying graphs from from 9:30 AM India time, 3rd May. We verified workflow at our side and able to push the data and don't see any issue at our side. Can you help us checking at your side and confirm if there is any issue at your side.

Thanks,
Atish Ahir

iOS app keeps crashing right after login

Hello,
I login, then it asks if I would like to allow notifications. As soon as I hit allow it crashes. I tried uninstalling and re-downloading from the App Store but it still continues to crash

Ruby Client

I've been using stathat for many years at multiple companies, all with ruby, and I love it!

The ruby gem is not part of the stathat github organization and hasn't been changed since 2014. I have 3 PRs from 2018 that make some improvements and fixes: https://github.com/patrickxb/stathat/pulls. I've been running this version of the gem in production since that time with success.

It would be great to see some official support for this gem and maybe to bring in those PRs or provide feedback.

Thanks!

Intermittent data loss for newly created StatHat keys

Issue description

Unable to see data for newly created topics in StatHat. After introducing a new key I was able to observe stats for some time, after few days noticed a permenent data loss. The way how I managed to capture that was simultaneous reporting to GCP logs as well as reporting to stathat.

Steps to reproduce

Haven't noticed similar behavior with other keys. Unable to replicate.

Client version

^0.0.8

Type of the issue

Bug

Settings for decimal place accuracy

I'm tracking crypto currency pairs using stathat and I end up with this:

screen shot 2017-03-27 at 4 20 47 pm
three decimal places isn't useful here

screen shot 2017-03-27 at 4 21 18 pm
here the sides of the y axis numbers are cut off, plus the figures below are showing between 5 and 8 decimal places, but I'd really like it fixed to 8 or to be configurable

Is this possible?

cannot save card

just trying to make a 4 panel card but network activity shows the request is cancelled after 5 seconds and the card is not saved

[feature-request] Read-only access tokens

I think stathat looks pretty neat, but I'll have more stats than I can manually manage, so an option to get a read-only access token would be nice.

Then I could build a custom metrics inspector and make it public...

Duplicate stats

I am using the StatHat java class and posted to a counter stat called "BinList Debit" four times. It shows up with two entries on the stats page, each with a count of two. I've also noticed that the count on the stats page is usually one or two less than the actual count, but when clicking for details, the count is correct.

[feature-request] Units...

Currently one can manually add units to metrics.
But they aren't used when graphs are rendered... Nor will this scale. If I have many metrics manually editing them not possible.

Encoding the unit in the name of the metric would make sense... Like "my-timer|ms".

And please use units when rendering graphs...having hours displayed in ms is not easy to read...

Not recieving any emails

We appear to have stopped recieving emails from all and any stathat services. Last known email to come in was from 2021-06-02.

For testing we tried inviting a new user using a standard gmail email address as well as users on our primary domain. No emails arrive from stahat.

TLS Cert expired

Any news on when you'll be renewing your TLS cert for stathat.com? I've tried to contact you folks on twitter but I haven't received a response yet. Seeing how there's no other way to contact you, I thought I'd try reaching out here.

Stats submitted using "~" name syntax don't add up.

I just added basic logging of external HTTP requests and response status codes to our application. The code submits these statistics via the JSON API.

Example code:

var host = request.RequestUri.Host;
var status = (int)result.StatusCode;
StatHat.Count($"http~total,{status},{host} total,{host} {status}");

These stats are only ever submitted in this manner, so I expect them to add up on the stats panel. I assumed it wouldn't be possible, for example, for the number of 304 responses to outnumber total responses. Yet that's exactly what I'm seeing:

image

I stopped the logging at least 30 minutes ago, so things should have had time to catch up.

Am I doing something wrong? Or is this maybe a bug? I rolled my own client library, but even if I'm dropping stats or submitting invalid requests, I'd assume any accepted would add up.

Feature: Card / Deck View Embed

Our users are not tech-savvy. We would love to use the Card and Deck views as embeds to their "Admin Dashboard." Is there any way to do this currently? If not I would love to see this feature.

Deleted stats not recreated

When I delete stats then attempt to recreate them, it does not work. I even tried manually creating the stat and it never appears in my list.

error posting stat to stathat

Using Go - thingy no worky...

I initially cut and pasted the suggested code. Obviously my real account info is redacted.

code:

stathat.PostEZCount("Email Sent", "xxxxxxxxxx", 1)
stathat.PostEZValue("Email Template", "xxxxxxxxxxxx", float64(template))

errors:

2016/04/09 07:53:05 error posting stat to stathat: Post https://api.stathat.com/ez: x509: certificate is valid for Common Name (eg, YOUR name), not api.stathat.com
2016/04/09 07:53:05 error posting stat to stathat: Post https://api.stathat.com/ez: x509: certificate is valid for Common Name (eg, YOUR name), not api.stathat.com

Integrations/Embed does not generate a correct embed snippet

Observed: When generating the embed link, the page shows a permanent "Loading..." title and the embed snippet contains text for "undefined" which does not work when embedded on another page.

Steps to replicate:

  1. Click on a stat
  2. Click on the Integrations button
  3. Note that the page does not appear to fully load. The H2 still shows "Loading..."
  4. The embed HTML code generates the following snippet line which does not work.
<script>StatHatEmbed.render({s1: 'undefined', w: 760, h: 235});</script>
  • There does not appear to be any JS errors on the page
  • Tested on latest version of Chrome and Safari

Expected Result: The embed page should generate the proper embed snippet for the displayed graph.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.