Can you have different time ranges on different panels on the same dashboard? - time

I'm trying to set up a monitoring dashboard that contains two graphs. One that shows current hour transaction volumes (in 1 minute intervals from current hour start until now) and one that shows current day transaction volumes (in 10 minute intervals from 00:00 until now). I can't seem to find a way to display two different x-axis timelines on the two different panels if I create them on the same dashboard. Is there a way to do what I'm looking for?
I've tried updating the queries themselves, messing with the dashboard settings, and messing with the panel settings but I haven't found what I needed. I'm using Grafana 6.0.0

Just found the answer in the docs: Relative time. With this option you can set a timerange per graph.

A bit too late for this answer, but might find someone who is in need of it though. You could have different time ranges for different panels on the same dashboard. I have a InfluxDB as data source and all I did was to update the Relative Time in the Query options.
In my case, the dashboard has a time range of 30 days but doing this way for a specific panel I was able to show data for the last 24 hours. The value in field Relative time should be positive (-24h will not work here).

Related

Generate number of search requests over a given year

Does anyone know if there is a way to generate a report that details how many search requests the GSA has handled over a given timeframe?
On the admin console: Reports > Search Logs.
Select the appropriate collection or All Collections.
Select the desired date range for the Report Timeframe.
From memory this only has access to a max 90 days historical data though so if you haven't been regularly exporting this data than you'll need to extrapolate the values from what is available.
As pointed by #BigMikeW Logs only retain data for 90 days. Unless you download every 90 days, you wont get it.
Other way is integration with Google Analytics and pass all search data to GA search behavior. That way you can use GA to play around and export for a year or even more. This is what I use.

how can i shedule an event when there is a dst update in a timezone

we have iot devices deployed on customer locations of different parts of the world. it should give some printed monitoring data in Daily weekly and monthly reports in our web dashboard. the issue is some timezones have day light savings, so these customers demand it should be based on dst.
what we want to try is
get a list of timezones we use
whenever there is a dst update in the timezone update the time on the device
but we can find how to fire an event for dst updates in different timezones, we can use python, ruby or shell or any command line tools that helps.
UPDATE
based on #rici 's answer i googled about zdump and found this
https://superuser.com/questions/805185/linux-command-to-check-wherever-this-day-is-a-dst-change-day-and-which-direction
this answer will give when DST starts and ends.
what i now do is manually set crontab based on these data.
how can i automate scheduling tasks?
You can use the zdump utility to print the current time in a liat of zones. If you do that every hour, and check the DST indicator against the previous output, you will see which zones have changed.
I have no idea how you can figure out which tmezones are important or how you identify which devices​ are in which time zone.

API User Usage Report: Inconsistent Reporting

I'm using a JVM to perform API calls to the Google Apps Administrator API.
I've noticed with the User Usage Reports, I'm not getting complete data when it comes to a field I'm interested in (num_docs_externally_visible) and the fields which form that fields calculation. I generally request a single day's usage report at a time, across my entire user base (~40k users).
According to the documentation on the developer's, I should be able to see that in a report 2-6 days after; however after running a report for the first 3 weeks of February, I've only gotten it for 60% of the days. The pattern appears to be random (in that I have up to 4 day in a row streaks of the item appearing and 3 days in a row streaks of it not, but there is no consistency to this).
Has anyone else experienced this issue? And if so, were you able to resolve it? Or should I expect this behavior to continue if this is an issue with what the API is returning outside of my control?
I think it's only natural that the data you get is not yet complete, it takes a certain day to receive the complete data.
This SO question is not exactly the same of your question, but i think it will help you. Especially the part that you need to use your account time zone.

Google Analytics: incorrect number of sessions when grouping by Custom Dimension

For a while I have successfully queried the number of sessions for my website, including the number of sessions per 'Lang Code' and per 'Distribution Channel'; both Custom Dimensions I have created in Analytics with their own slot and their Scope Type set to 'Session'.
Recently the number of sessions has decreased significantly when I group by a Custom Dimension, e.g. Lang Code.
The following query gives me a number of say 900:
https://ga-dev-tools.appspot.com/query-explorer/?start-date=2015-10-17&end-date=2015-10-17&metrics=ga%3Asessions
Whereas this query gives returns around a quarter of that, say ~220:
https://ga-dev-tools.appspot.com/query-explorer/?start-date=2015-10-17&end-date=2015-10-17&metrics=ga%3Asessions&dimensions=ga%3Adimension14
Now, my initial reaction was that 'Lang Code' was not set on all pages but I checked and this data is includes guaranteed on all pages of my website.
Also, no changes have been made to the Analytics View I'm querying.
The same issue occurred a couple of weeks ago and at the time I fixed this by changing the Scope Type of said Custom Dimensions to Session, but now I'm no longer sure if this was the correct fix or if this was just a temporary glitch since:
the issue didn't occur before
the issue now reoccurs
Does anyone have any idea what may have caused this data discrepancy?
P.S. to make things stranger, for daily reporting we run this query every night (around 2am), and then the numbers are actually correct, so apparently it makes a difference at what time the query is executed?

Google Analytics Date/Hour/Time Stamp

I'm new to Google Analytics. I have a goal and I would like to see the date/hour/minute the goal occurred. Is this possible? Sorry if this is a stupid question, I could not find an answer after hours of googling...
Thanks!
You cant actually see the Date , hour and minute the goal in one request.
Using a custom Report
I added Hour, minute and Goal1. Hour returned information minute returns nothing. I tried to add date as a secondary dimension to the hour one and that also returned no information.
Remember not all of the dimensions and metrics can be combined to give information. Hour and minute are two of them.
using a dashboard also didn't reveal any decent data.

Resources