newrelic-experimental / nr1-command-center Goto Github PK
View Code? Open in Web Editor NEWConsolidated Violation Event View
License: Apache License 2.0
Consolidated Violation Event View
License: Apache License 2.0
When using FACET with NRQL alert conditions, user can add FACETed attributes as custom violation description. This descriptions will allow user to see what combination of attributes is having a violation.
Adding custom violation descriptions as additional columns in the table presentation or combine them as one space separated text field.
The custom violation descriptions are available in the NrAiIncident events.
It would be nice to have ack functionality in the open violations tab.
Adding an ack button (linked to NR acknoweldge link) so people can work on this overview dashboard and can ack within this dashboard without the need to login on that particular (sub)account to do so.
It would be nice to see not only the number of critical/warning violations but also the amount of open incidents.
Incidents vs violations have a 1-many relationship. With displaying the number of open incidents, people have a good insight if there's something total wrong (number of critical violations = number of incidents) or if there's something not correctly configured/something is flapping (number of criticals/warnings x time > number of incidents.
When adding a fifth account to the Command Center, I am able to add/save it initially and rearrange the accounts. However, after leaving CC and coming back, it has reverted to a prior save and I can only see the 4 accounts previously working.
Add new 5th account from configuration
Save the file
Close browser and return
Five accounts to be available after returning.
We have recently started building some internal tooling that will fully leverage New Relic's Alert Muting NerdGraph capabilities. We were able to fully test and confirm the desired results were obtained, with the specific incidents having their State properly set as "Muted". However, we noticed that the "Muted" state is not something currently being considered on this Command Center application, with the incidents showing up as regular critical alerts, as opposed to indicating they are actually muted.
It would be highly appreciated to have either an indicator on the "Open Violations" list showcasing which incidents are actually silenced, or simply not showing them on the list at all. The first option being the preferable one.
It would be nice to have webhook functionality in the open violations tab.
Webhook functionality combined with custom buttons makes work easy to quickly react on alerts and dispatch them:
ack button linked to NR ack functionality so other team members can see someone is already taken action on an alert
custom button for example "create ticket". This button calls a webhook to a external ticket system and creates a ticket linked to the alert.
additional bidirectional webhook functionality makes it possible to add the link of the created ticket as a link in the open violations tab
It seems like added account configuration isn't persistent.
When reloading the nr1-command-center from one.newrelic.com startpage, configuration is cleared and configured accounts are gone.
Overview keeps loading when adding +10 (sub)accounts
When adding a config with + 10 (sub)accounts the config is successful saved but refreshing account data keeps loading.
We want to use this in a MSP context to have a quick overview on all accounts. Didn't test yet if the number of accounts is the problem or if it's the number of open violations that results in a "keep loading".
I am running into an error trying to run the serve command and unable to get past this. I am not sure where the issue even sits.
nr1-command-center>nr1 nerdpack:serve --verbose
init version: @oclif/[email protected] argv: [ '--verbose', [length]: 1 ]
init version: @oclif/[email protected] argv: [ '--verbose', [length]: 1 ]
Found and loaded 2 nr1.json files on msp-alerts (60c98924-44fd-458f-bbf6-b96485cede4c) Nerdpack.
Schema file is 8 min old
Nerdpack:
√ msp-alerts (60c98924-44fd-458f-bbf6-b96485cede4c) nr1.json
Launchers:
√ nr1-command-center-launcher launchers\nr1-command-center-launcher\nr1.json
Nerdlets:
√ nr1-command-center-nerdlet nerdlets\nr1-command-center-nerdlet\nr1.json
Using profile XXXXX_NonProd_US
There is no certificate created yet.
Request: GET https://ca.service.newrelic.com/user/certificate
Data: undefined
Headers: {
'API-Key': 'XXXXXXX'
}
x Error: An error ocurred while performing the operation
{ origin: 'service' }
It would be nice to have filter options in the open violations tab. Especially when you have a lot of accounts/open violations.
option to filter on a (sub)account
option to filter on a specific condition/policy name
filter on incident and grouping warnings/criticals that belong to one incident
SUMMARY
When trying to acknowledge or close an incident from Command Center, it prompts for the API for the account. However, after inputting the account and clicking on either Acknowledge or Close, no change occurs on the underlying alert.
EXPECTED OUTCOME
Acknowledge or Close should perform the stated action for the incident/alert in question.
Along with the list of currently open incidents, we would like to ask for a second tab where we would be able to see the alerts that were closed in the last 24 hours, or according to what is defined on the time picker filter.
Have a second tab on the incidents list showing all closed alerts for the past X hours/days/weeks.
Default uuid generated in nr1.json file is not allowed (starts with an integer but not allowed).
starting the application the first time
undefined: 2ced9f6f-ef74-46a6-bd10-6fa2146e71f1 nr1.json └ Property /id The id must be lowercase, start with a letter and can only contain alphabetic characters, numbers and hyphens. E.g: my-nerdlet-id. Should match the regular expression: ^[a-z0-9-]+$.
Module not found and module build failed errors when trying to start the nerdpack
nr1 nerdpack:serve
` ERROR in ./nerdlets/nr1-command-center-nerdlet/alarms.js
Module not found: Error: Can't resolve 'moment' in '/root/GITLAB/nerdpack/nr1-command-center/nerdlets/nr1-command-center-nerdlet'
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js 17:0-28 489:20-26 758:22-28 759:22-28 806:17-23 806:29-35 995:25-31
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./components/Configurator/index.js
Module not found: Error: Can't resolve 'prop-types' in '/root/GITLAB/nerdpack/nr1-command-center/components/Configurator'
@ ./components/Configurator/index.js 12:0-35 433:10-19 434:8-17 435:21-30
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./components/Configurator/Components/ToolPanel/index.js
Module not found: Error: Can't resolve 'prop-types' in '/root/GITLAB/nerdpack/nr1-command-center/components/Configurator/Components/ToolPanel'
@ ./components/Configurator/Components/ToolPanel/index.js 10:0-35
@ ./components/Configurator/index.js
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./components/Configurator/Customisations/BaseInput.js
Module not found: Error: Can't resolve 'prop-types' in '/root/GITLAB/nerdpack/nr1-command-center/components/Configurator/Customisations'
@ ./components/Configurator/Customisations/BaseInput.js 5:0-35 98:8-17 99:17-26 100:11-20 101:14-23 102:14-23 103:14-23 104:15-24 105:14-23 106:12-21 107:13-22
@ ./components/Configurator/index.js
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./nerdlets/nr1-command-center-nerdlet/alarms.js
Module not found: Error: Can't resolve 'prop-types' in '/root/GITLAB/nerdpack/nr1-command-center/nerdlets/nr1-command-center-nerdlet'
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js 13:0-35 1474:20-29 1475:19-28 1476:9-18 1477:10-19
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./components/Configurator/index.js
Module not found: Error: Can't resolve 'react-jsonschema-form' in '/root/GITLAB/nerdpack/nr1-command-center/components/Configurator'
@ ./components/Configurator/index.js 13:0-41 311:41-45
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./nerdlets/nr1-command-center-nerdlet/alarms.js
Module not found: Error: Can't resolve 'react-table' in '/root/GITLAB/nerdpack/nr1-command-center/nerdlets/nr1-command-center-nerdlet'
@ ./nerdlets/nr1-command-center-nerdlet/alarms.js 14:0-37 949:31-41
@ ./nerdlets/nr1-command-center-nerdlet/index.js
ERROR in ./tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss
Module build failed (from /usr/lib/newrelic-cli/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from /usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js):
Error: import file cannot be resolved: "@import '~react-table/react-table.css';" @/root/GITLAB/nerdpack/nr1-command-center/nerdlets/nr1-command-center-nerdlet/styles.scss
at Object.importReplacer (/usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js:207:19)
at importReplacer.throw (<anonymous>)
at onRejected (/usr/lib/newrelic-cli/node_modules/co/index.js:81:24)
at process._tickCallback (internal/process/next_tick.js:68:7)
at runLoaders (/usr/lib/newrelic-cli/node_modules/webpack/lib/NormalModule.js:316:20)
at /usr/lib/newrelic-cli/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /usr/lib/newrelic-cli/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/usr/lib/newrelic-cli/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at co.then.err (/usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js:317:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
Child mini-css-extract-plugin ../../../../usr/lib/newrelic-cli/node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../usr/lib/newrelic-cli/node_modules/postcss-loader/src/index.js??postcss!../../../../usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js!tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss:
Entrypoint mini-css-extract-plugin = *
[../../../../usr/lib/newrelic-cli/node_modules/css-loader/dist/cjs.js?!../../../../usr/lib/newrelic-cli/node_modules/postcss-loader/src/index.js?!../../../../usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js!./tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss] /usr/lib/newrelic-cli/node_modules/css-loader/dist/cjs.js??ref--5-1!/usr/lib/newrelic-cli/node_modules/postcss-loader/src??postcss!/usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib!./tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss 574 bytes {mini-css-extract-plugin} [built] [failed] [1 error]
ERROR in ./tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss (/usr/lib/newrelic-cli/node_modules/css-loader/dist/cjs.js??ref--5-1!/usr/lib/newrelic-cli/node_modules/postcss-loader/src??postcss!/usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib!./tmp/d3d845e0-c97c-4acd-99e0-203d6ac6ebc4-styles.1583923439037.scss)
Module build failed (from /usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js):
Error: import file cannot be resolved: "@import '~react-table/react-table.css';" @/root/GITLAB/nerdpack/nr1-command-center/nerdlets/nr1-command-center-nerdlet/styles.scss
at Object.importReplacer (/usr/lib/newrelic-cli/node_modules/fast-sass-loader/lib/index.js:207:19)
at importReplacer.throw (<anonymous>)
at onRejected (/usr/lib/newrelic-cli/node_modules/co/index.js:81:24)
at process._tickCallback (internal/process/next_tick.js:68:7)
Error: The build failed.
You can run this command with "--verbose" for more info.`
When comparing the value provided on the "Opened At" column on the Command Center app with the "OPENED" date/time seen within the actual incident we see a disparity between the two.
Simply compare the "Opened At" column with the time seen within the incident under the "OPENED" section.
"Opened At" column should match the time when the Violation was first opened, as seen within the Incident itself.
Using Incident 151388698 as an example, on the Command Center we see the "Opened At" value as "08/13/2020 03:08", while the incident actually states "3:29 am OPENED"
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.