Giter Site home page Giter Site logo

nr1-command-center's People

Contributors

dependabot[bot] avatar jbeveland27 avatar khpeet avatar staticfox avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nr1-command-center's Issues

Include custom violation description from NRQL alert

Summary

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.

Desired Behaviour

Adding custom violation descriptions as additional columns in the table presentation or combine them as one space separated text field.

Possible Solution

The custom violation descriptions are available in the NrAiIncident events.

Additional context

ack functionality from within the open violations tab

Summary

It would be nice to have ack functionality in the open violations tab.

Desired Behaviour

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.

incident information in the summary overview

Summary

It would be nice to see not only the number of critical/warning violations but also the amount of open incidents.

Desired Behaviour

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.

Adding More than 4 Sub Accounts Doesn't Save

Description

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.

Steps to Reproduce

Add new 5th account from configuration
Save the file
Close browser and return

Expected Behaviour

Five accounts to be available after returning.

Active Muting Rules not being taken into consideration

Summary

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.

Desired Behaviour

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.

possibility to configure a webhook in the violation overview

Summary

It would be nice to have webhook functionality in the open violations tab.

Desired Behaviour

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

configuration not persistent

It seems like added account configuration isn't persistent.

Description

When reloading the nr1-command-center from one.newrelic.com startpage, configuration is cleared and configured accounts are gone.

Overview not loading with large number of subaccounts

Overview keeps loading when adding +10 (sub)accounts

Description

When adding a config with + 10 (sub)accounts the config is successful saved but refreshing account data keeps loading.

Additional context

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".

Unable to Deploy - An error occured while performing the operation

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' }

adding filter options to the open violations tab

Summary

It would be nice to have filter options in the open violations tab. Especially when you have a lot of accounts/open violations.

Desired Behaviour

  • 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

Acknowledge/Close Not Working

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.

List of alerts closed in the last 24 hours

Summary

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.

Desired Behaviour

Have a second tab on the incidents list showing all closed alerts for the past X hours/days/weeks.

nerdpack uuid error

Description

Default uuid generated in nr1.json file is not allowed (starts with an integer but not allowed).

Steps to Reproduce

starting the application the first time

Relevant Logs / Console output

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 failures when trying to start the nerdpack

Description

Module not found and module build failed errors when trying to start the nerdpack

Steps to Reproduce

nr1 nerdpack:serve

Relevant Logs / Console output

` 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.`

"Opened At" column does not match Incident

Description

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.

Steps to Reproduce

Simply compare the "Opened At" column with the time seen within the incident under the "OPENED" section.

Expected Behaviour

"Opened At" column should match the time when the Violation was first opened, as seen within the Incident itself.

Additional context

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"
Screen Shot 2020-08-13 at 15 56 11
Screen Shot 2020-08-13 at 15 57 10

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.