newrelic / nr1-status-widgets Goto Github PK
View Code? Open in Web Editor NEWNR1 Status Widgets provides you with custom Visualizations for Dashboards
License: Apache License 2.0
NR1 Status Widgets provides you with custom Visualizations for Dashboards
License: Apache License 2.0
Status Values are populated in the timeline without considering the timestamps. When the values are populated regularly for each hour then the widget works fine. But if there are no values for few hours then the status is shown in a wrong timestamp/hour.
We are using Status Timeline widget to show the result of Synthetic Monitors which are running once in 6 hours. Ideally, in the Status Timeline widget it should show the values for 0:00 timestamp and 06:00 timestamp, but we are seeing the values for 00:00 and 01:00. Without considering the timestamp, the status values are getting populated.
From SyntheticCheck select latest(result) facet monitorName,hourOf(timestamp) ORDER BY timestamp WITH TIMEZONE 'Australia/Brisbane' LIMIT MAX
Ideally, the status timeline widget should show the values of status at the 0th hour and then at the 6th hour.
But it is showing the values at 0th hour and 1st hour. Without considering timestamp, status values are being filled in the cells.
I have created a widget using the NRQL status widget option, one of the configurations of this widget is to polling data every 5 seconds and everything is working if the time picker of the dashboard I have attached the widget to, stay with the default option but as long as I change the time picker option to any other value, the data stop the updating process and if you check the network tab under the inspector you will see that the request is happening but the value is not being re-render in the UI.
Add Data option -> Look into App & Visualisations -> enable the app Status Widget Pack -> select the option NRQL status Widget -> create a query like SELECT count(*) FROM Transaction -> set some critical and warning thresholds -> set polling to 5 seconds -> save the widget into a dashboard -> open the dashboard and see that the widget is being updating with the values every second in the default option of the time picker -> change dashboard's time picker to 5 minutes -> widget stop the re-render process of the value.
Change the dashboard's time picker without affecting the re-render process of the widget's value since the polling should keeps happening every 5 seconds
๐คThis issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
โ Error | โ Fail | โ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 3 | 0 | 10 | 0 | 13 |
license-file-exists
readme-file-exists
readme-contains-security-section
readme-contains-link-to-security-policy
readme-contains-discuss-topic
third-party-notices-file-exists
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
readme-starts-with-nr1-catalog-header
#The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:
README.md
: The first 1 lines do not contain the pattern(s): Open source NR1 Catalog header (see https://opensource.newrelic.com/oss-category).
[![New Relic One Catalog Project header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/New_Relic_One_Catalog_Project.png)](https://opensource.newrelic.com/oss-category/#new-relic-one-catalog-project)
to filecode-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Found files. Below is a list of files or patterns that failed:
CODE_OF_CONDUCT.md
package-scripts-present
#An eslint-check
and eslint-fix
npm script not found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-discuss-topic
#Contains a link to the appropriate discuss.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
github-actions-workflow-file-exists
#Found file (.github/workflows/catalog.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
NRQL querying metrics returns null / Oops Error in the widget.
NRQL itself works fine fine in other dashboard widgets and returns a value.
eg.1 FROM Metric SELECT clamp_max(count(newrelic.sli.good) / count(newrelic.sli.valid) * 100, 100) as 'SLI attainment' WHERE sli.guid = 'GUID'
eg.2 FROM Metric SELECT apm.service.apdex
Show and process Metrics in the widget.
Using version 2.12.1 from the catalog, adding an on click URL doesn't redirect to the URL when clicking.
I added a query, of Workload status (FROM WorkloadStatus SELECT latest(statusValueCode) WHERE entity.name = 'thename'), changed the bucket size to 5 mins, added above thresholds with labels, selected display timeline, and added an on click URL.
Clicking on the widget in the dashboard does not redirect. Otherwise the widget works as expected.
Redirect to URL.
No noticeable console errors while clicking, network shows a call to the event API.
Permalink, if that helps: https://onenr.io/0a7j9nE4mQO
Hi
Add support for nested queries with facet
.
For example, the following query which measures the p99 time for some internal process within our system, is rejected by the widget because of the use of facet
in the inner query, although the outer query is in fact valid for the widget.
select
percentile(avg_processing_time_min, 99)
from(
select
average(totango.account_updater.total_process_time.percentiles)/60000 as 'avg_processing_time_min'
from
Metric
where
env = 'prod' and
percentile = '99' and
source != 'Pixel'
facet type)
It would be nice to have more control over the layout of charts in the modal page.
As a minimum, I'd like to be able to have a singe table chart maxed-out on the entire modal page.
Hello,
The following query:
select average(aws.rds.CPUUtilization) from Metric where aws.rds.DBInstanceIdentifier = 'data-db-prod' and tags.env = 'prod'
Works perfectly in the platform's query builder, but doesn't seem to work in the status widget.
Maybe it's connected to the "Your Metric query has been transformed into a query that is compatible with the previous Infrastructure metric format." message?
๐คThis issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.
This Repolinter run generated the following results:
โ Error | โ Fail | โ Pass | Ignored | Total | |
---|---|---|---|---|---|
0 | 2 | 0 | 11 | 0 | 13 |
license-file-exists
readme-file-exists
readme-contains-security-section
readme-contains-link-to-security-policy
third-party-notices-file-exists
code-of-conduct-should-not-exist-here
github-actions-workflow-file-exists
nr1-catalog-config-file-exists
nr1-catalog-screenshots-directory-exists
nr1-catalog-documentation-file-exists
package-scripts-present
readme-starts-with-nr1-catalog-header
#The README of a community plus project should have a NR1 Catalog header at the start of the README. If you already have a NR1 Catalog header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:
README.md
: The first 1 lines do not contain the pattern(s): Open source NR1 Catalog header (see https://opensource.newrelic.com/oss-category).
the latest code snippet found at https://github.com/newrelic/opensource-website/wiki/Open-Source-Category-Snippets#code-snippet-3
to filereadme-contains-forum-topic
#Doesn't contain a link to the appropriate forum.newrelic.com topic (README.md
). New Relic recommends directly linking the your appropriate forum.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
license-file-exists
#Found file (LICENSE
). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.
readme-file-exists
#Found file (README.md
). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-source-tools/tree/master/javascript/oss-template.
readme-contains-security-section
#Contains a security section (README.md
). New Relic recommends having a Security section in your README to address concerns such as vulnerability reporting. This security section should also contain a link to the security policy (found under the "Security" tab of the repository). For an example of this section, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
readme-contains-link-to-security-policy
#Contains a link to the security policy for this repository (README.md
). New Relic recommends referencing the open source security policy (https://github.com/newrelic/<repo-name>/security/policy
or ../../security/policy
) in a Security section in the README. For an example of this, please see the NR1 Catalog Template. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.
third-party-notices-file-exists
#Found file (THIRD_PARTY_NOTICES.md
). A THIRD_PARTY_NOTICES.md file must be present to grant attribution to all dependencies being used by this project. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
code-of-conduct-should-not-exist-here
#New Relic has moved the CODE_OF_CONDUCT
file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT
file in a repository is now redundant and should be removed. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.
github-actions-workflow-file-exists
#Found file (.github/workflows/catalog.yml
). Any Community Plus project must integrate with GitHub actions. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.
nr1-catalog-config-file-exists
#Found file (catalog/config.json
).
nr1-catalog-screenshots-directory-exists
#Found file (catalog/screenshots
).
nr1-catalog-documentation-file-exists
#Found file (catalog/documentation.md
).
package-scripts-present
#An eslint-check
and eslint-fix
npm script found in file (package.json
). NPM scripts for ESLint (eslint-check
and eslint-fix
) are required to properly integrate with the nerdpack system.
Entity Status Widget is returning no entities found
I believe due to this graphql call throwing deprecated errors.
Switch relationshipQuery
to the following, using non-deprecated fields:
{
actor {
entities(guids: [${guids}]) {
account {
id
name
}
guid
name
domain
type
entityType
reporting
... on AlertableEntity {
alertSeverity
}
relatedEntities {
results {
source {
entity {
name
guid
entityType
... on AlertableEntityOutline {
alertSeverity
}
}
}
target {
entity {
name
guid
entityType
... on AlertableEntityOutline {
alertSeverity
}
}
}
}
}
}
}
}
Hi guys,
I'd like to have the warning threshold be optional. I want to use the NRQL status widget to determine if something is healthy or not based on the values 0 and 1. Therefore, I have no need for a warning threshold but this is not optional. Unless there is already a way to not have a warning threshold?
need to be able to set the order of the columns, for example, I may want my facet column to be on the far left..
I'm using simple color thresholds green
, yellow
and red
.
These are returned from the Elasticsearch integration via select latest(cluster.status) from ElasticsearchClusterSample where entityName = 'es-cluster:my_cluster'
Regardless of the value returned from the query, the widget stays green.
Interestingly, the time line is rendered as expected.
In the NRQL Status Widget (and possibly others), when choosing the Display Metric
option, the metric value is unformatted, with the exception of the Decimal Places
selection. I would like to be able to format the metric value just like any other value in a built-in NR widget.
I would like to see the same Data Format
options available for the built-in NR widgets, specifically, the Number type's Autoformat
option that will convert 3456
to 3.45 k
, following the Decimal Places
selection.
I have a mix of built-in NR widgets and NRQL Status Widgets on my dashboard, and would like to see all of the values formatted the same way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.