Comments (14)
@jhollinger hello, thanks for report!
Could you call this command and send me output of this?
redis-cli hgetall sidekiq:statistic
from sidekiq-statistic.
(empty list or set)
from sidekiq-statistic.
Oh that's b/c we're using a sidekiq namespace, so it's sidekiq:sidekiq:statistic
. We have HIPAA concerns, so I can't send it to you. Could you tell me what to look for?
from sidekiq-statistic.
@jhollinger, I want to see what string you are use in Time.parse
in #formate_date
helper method. This error happened when you replace month and day in parsed string.
Thats why I want to ask you show me what contain "2015-11-23:<WorkerName>:last_time"
key in redis statistic hash.
from sidekiq-statistic.
Got it. Here's a sampling of last_time values. They're obviously in the American date format. Are they expected to be in the more standard one?
11/17/2015 0750 UTC
11/15/2015 0500 UTC
11/16/2015 0500 UTC
11/22/2015 2342 UTC
11/15/2015 2300 UTC
11/21/2015 2256 UTC
11/15/2015 0500 UTC
11/23/2015 2000 UTC
from sidekiq-statistic.
Sorry, I use this method for formate date in UTC. I think you need to use this method too.
from sidekiq-statistic.
Where is it that I would need to use that method?
from sidekiq-statistic.
ping
from sidekiq-statistic.
pong.
Please save data string in UTC format. You have a problem in parsing your data string in custom format.
from sidekiq-statistic.
Right, I mean what "data string?"
from sidekiq-statistic.
ProTip™: it's easy to store dates in a numeric format Time.now.to_i
and then use Time.at(number)
to make the timestamp when you need to display it. Numeric means you don't need to worry about string formats or timezones.
from sidekiq-statistic.
+1
from sidekiq-statistic.
@mperham thanks! I think I need to rewrite code
from sidekiq-statistic.
Fixed it by @rbUUbr’s PR. Will close the issue
from sidekiq-statistic.
Related Issues (20)
- Improve translations for start/stop real time button HOT 1
- Improve hide feature on real-time tab HOT 2
- Add new workers to the table on real-time tab HOT 1
- Test support with Sidekiq 6 HOT 5
- Color of visited anchors is hard to read on dark mode HOT 2
- Undefined filename for Nil class error HOT 2
- Graph not displayed properly because of too many jobs HOT 2
- Version 1.5.0 still tagged as 1.4.0 in lib/sidekiq/statistic/version.rb ? HOT 1
- Release on rubygems? HOT 8
- Add support to i18n in Datepicker inputs
- Provide stats per host
- Empty workers HOT 2
- Version bump for 2.0.0 release? HOT 1
- Uncaught ReferenceError: jQuery is not defined
- Redis `redis.pipeline` is being deprecated HOT 4
- Remove JQuery dependency completely
- Warning from Redis HOT 3
- Verify Sidekiq's changes in version 6.5.0
- Problem with Sidekiq 7 HOT 1
- Issue with Sidekiq 7 and 2.0 release 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 sidekiq-statistic.