- 15 Jan, 2020 7 commits
-
-
Adds support for collecting metrics from backend plugins and exposing them thru Grafana's Prometheus metrics endpoint. Enables to check health of backend plugin by using the route `/api/plugins/<plugin id>/health`. Uses sdk v0.6.0. Closes #20984
Marcus Efraimsson committed -
By rotating the auth tokens at the end of the request we ensure that there is minimum delay between a new token being generated and the client receiving it. Adds auth token slow load test which uses random latency for all tsdb queries.. Cleans up datasource proxy response handling. DefaultHandler in middleware tests should write a response, the responseWriter BeforeFuncs wont get executed unless a response is written. Fixes #18644 Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Anthony Woods committed -
* Adding className to hide tabs on small screens * update snapshot * Readd border on pageheader * update snap
Peter Holmberg committed -
#21350 introduced a bug regarding import of plugin dashboards. This should fix this and add custom validation if not importing plugin dashboard and dashboard property is missing. Ref #21350 Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
Marcus Efraimsson committed -
* SideMenu: Fixes issue with logout link opened in new tab * Updated snapshot
Torkel Ödegaard committed -
Dominik Prokop committed
-
Ryan McKinley committed
-
- 14 Jan, 2020 9 commits
-
-
Ivana Huckova committed
-
Breaking change: If disabled the cookie samesite cookie attribute will not be set, but if none the attribute will be set and is a breaking change compared to before where none did not render the attribute. This was due to a known issue in Safari. Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com> Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Fixes #19847
Marcus Efraimsson committed -
Adds basic alerting notification tests. First steps towards getting #18011 merged. Ref #18011
Marcus Efraimsson committed -
* ImportDashboardCommand: Validate JSON fields
Arve Knudsen committed -
* add build-docs-website job to circleci * update commands * update readme command * remove container when test finishes * move build-docs-website to build-branches-and-prs * update readme
Robby Milo committed -
* Fixed so when clicking a plot on a touch device we won't display the annotation context menue. * Refactorings after feedback. * changed to standard-ish comment.
Marcus Andersson committed -
* add common backend * use const for range * likely not differnt * send the right orgId * Add DataSourceWithBackend to @grafana/runtime mock in root reducer test Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Ryan McKinley committed -
* add min_interval_seconds setting to alerting config It will let operator enforce a minimum time for the scheduler to enqueue evaluations * Introduce UI modifications * Update docs Co-authored-by: Martin <uepoch@users.noreply.github.com>
Sofia Papagiannaki committed -
* replace select with tabs * storybook example * Update snapshot, move styles to component files
Peter Holmberg committed
-
- 13 Jan, 2020 12 commits
-
-
* Update rpm.md * Update rpm.md * Moved content to troubleshooting Updated rpm.md and moved content from rpm.md to troubleshooting.md * Update rpm.md * Update rpm.md * Update rpm.md * Update rpm.md * Update rpm.md * Update rpm.md * Update rpm.md * Update docs/sources/installation/rpm.md Co-Authored-By: Dan Cech <dcech@grafana.com> * Update docs/sources/installation/rpm.md Co-Authored-By: Dan Cech <dcech@grafana.com> Co-authored-by: Dan Cech <dan@aussiedan.com>
Diana Payton committed -
OpsGenie's model works heavily off of the priority of an alert, e.g. routing and escalation. Currently this plugin only supports the default "P3". Setting a tag og_priority to the correct P-value, e.g. P1, P2, P3, P4 or P5, will call the OpsGenie API with the correct priority value set.
zabullet committed -
Add fallbackText to Google Chat notifications. Definition of fallbackText: A plain-text description of the message's cards, used when the actual cards cannot be displayed, e.g. mobile notifications. Fixes #21463
Alvaro Olmedo Rodriguez committed -
Moves backend plugin manager to service instead of global functions in backendplugin package. Closes #20053
Marcus Efraimsson committed -
Moves the details of loading plugins into the backend plugin manager from the respective plugin (datasource, transform and renderer).
Marcus Efraimsson committed -
* admin: user page to react WIP * admin user page: basic view * admin user page: refactor, extract orgs and permissions components * admin user: change sessions actions styles * admin user: add disable button * user admin: add change grafana admin action * user admin: able to change org role and remove org * user admin: confirm force logout * user admin: change org button style * user admin: add confirm modals for critical actions * user admin: lock down ldap user info * user admin: align with latest design changes * user admin: add LDAP sync * admin user: confirm button * user admin: add to org modal * user admin: fix ConfirmButton story * admin user: handle grafana admin change * ConfirmButton: make styled component * ConfirmButton: completely styled component * User Admin: permissions section refactor * admin user: refactor (orgs and sessions) * ConfirmButton: able to set confirm variant * admin user: inline org removal * admin user: show ldap sync info only for ldap users * admin user: edit profile * ConfirmButton: some fixes after review * Chore: fix storybook build * admin user: rename handlers * admin user: remove LdapUserPage import from routes * Chore: fix ConfirmButton tests * Chore: fix user api endpoint tests * Chore: update failed test snapshots * admin user: redux actions WIP * admin user: use new ConfirmModal component for user profile * admin user: use new ConfirmModal component for sessions * admin user: use lockMessage * ConfirmButton: use primary button as default * admin user: fix ActionButton color * UI: use Icon component for Modal * UI: refactor ConfirmModal after Modal changes * UI: add link button variant * UI: able to use custom ConfirmButton * Chore: fix type errors after ConfirmButton refactor * Chore: revert Graph component changes (works with TS 3.7) * Chore: use Forms.Button instead of ActionButton * admin user: align items * admin user: align add to org modal * UI: organization picker component * admin user: use org picker for AddToOrgModal * admin user: org actions * admin user: connect sessions actions * admin user: updateUserPermissions action * admin user: enable delete user action * admin user: sync ldap user * Chore: refactor, remove unused code * Chore: refactor, move api calls to actions * admin user: set user password action * Chore: refactor, remove unused components * admin user: set input focus on edit * admin user: pass user into debug LDAP mapping * UserAdminPage: Ux changes * UserAdminPage: align buttons to the left * UserAdminPage: align delete user button * UserAdminPage: swap add to org modal buttons * UserAdminPage: set password field to empty when editing * UserAdminPage: fix tests * Updated button border * Chore: fix ConfirmButton after changes introduced in #21092 Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Alexander Zobnin committed -
* Update cli.md * update links Co-authored-by: Robby Milo <robbymilo@gmail.com>
Diana Payton committed -
* revert back to i element * snap
Peter Holmberg committed -
* add typings * introduce tyings and refactor accordingly * extract setting celltype * update tests to reflect changes * removing unused things * renaming getCellType -> getCellDisplayType * fix width type error * remove caret * move cell back to utils, fix story * remove unused import * rename type
Peter Holmberg committed -
* Login: Refactoring how login background is rendered * Tweak
Torkel Ödegaard committed -
* refactoring BigValue layout to use polymorphism * Renamed file * StatPanel: Fixed min & max handling, white theme background * Typescript and test fixes * Fixed justify center logic * Updated test dashboard * Updated test dashboard * Adjust time xMax to align with last data point if it's close * Fixed color issue * removed text shadow * Removed unused stuff * Fixed auto min max * Fixed strict typescript issues * Updated
Torkel Ödegaard committed -
* Refactor: Adds Redux Toolkit package * Refactor: Uses configureStore from Redux Toolkit * Refactor: Migrates applicationReducer * Refactor: Migrates appNotificationsReducer * Refactor: Migrates locationReducer * Refactor: Migrates navModelReducer * Refactor: Migrates teamsReducer and teamReducer * Refactor: Migrates cleanUpAction * Refactor: Migrates alertRulesReducer * Refactor: Cleans up recursiveCleanState * Refactor: Switched to Angular compatible reducers * Refactor: Migrates folderReducer * Refactor: Migrates dashboardReducer * Migrates panelEditorReducer * Refactor: Migrates dataSourcesReducer * Refactor: Migrates usersReducer * Refactor: Migrates organizationReducer * Refactor: Migrates pluginsReducer * Refactor: Migrates ldapReducer and ldapUserReducer * Refactor: Migrates apiKeysReducer * Refactor: Migrates exploreReducer and itemReducer * Refactor: Removes actionCreatorFactory and reducerFactory * Refactor: Moves mocks to test section * Docs: Removes sections about home grown framework * Update contribute/style-guides/redux.md Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Refactor: Cleans up some code * Refactor: Adds state typings * Refactor: Cleans up typings * Refactor: Adds comment about ImmerJs autoFreeze Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Hugo Häggmark committed
-
- 12 Jan, 2020 1 commit
-
-
* Refactoring to get the correct spacing between the first icon and button border. * Should not be smaller then 8px to the left. * Removed unused dependency. * Updated snapshot for LinkButton.
Marcus Andersson committed
-
- 10 Jan, 2020 11 commits
-
-
Torkel Ödegaard committed
-
* Update documentation-style-guide.md Added Commands and code section. * Update documentation-style-guide.md * Update documentation-style-guide.md Added code block examples * Update documentation-style-guide.md
Diana Payton committed -
* remove anon funcs, removed options from state, removed update method, static selects as constants * cancellable promise * cancel promise on unmount * use new datasource funcs for dryer component * event handler funcs * updated funcs and moved to utils, updating config editors * S has no keys. never will never work * remove report json * update azure snapshot * DataSourceSettings keyof * rename reset funcs
Shavonn Brown committed -
* Update plugin docs * Updated plugins installation documentation Moved all Grafana CLI commands into cli.md, moved API script into user.md, rewrote installation.md as an actual task that refers the user to the plugins installation page * Update cli.md * Update cli.md * Update docs/sources/administration/cli.md Co-Authored-By: Dan Cech <dcech@grafana.com> * Update docs/sources/administration/cli.md Co-Authored-By: Dan Cech <dcech@grafana.com> * Update docs/sources/http_api/user.md Co-Authored-By: Dan Cech <dcech@grafana.com> * Update docs/sources/http_api/user.md Co-Authored-By: Dan Cech <dcech@grafana.com> * Update cli.md * Fixed links * Update cli.md * Update cli.md * Update cli.md * Update cli.md Co-authored-by: Dan Cech <dan@aussiedan.com>
Diana Payton committed -
* Docs: Update debian.md Simplified the APT install instructions by bundling the commands into one block, added steps in the .deb instructions to refer to new fields on the installation page. * Update debian.md * Update debian.md * Update debian.md * Update debian.md * Update debian.md * Update debian.md
Diana Payton committed -
Alerting: Adds support for sending a single email to all recipients in notification channel (#21091) When an alert is sent by e-mail, the process sends an e-mail to each recipient separately. This PR is a single delivery to all recipients. For companies that use e-mail extensively, this is necessary in order not to overload the sending queue. Replaces #18013 Fixes #12650 Co-authored-by: Henrique Oliveira <holiiveira@users.noreply.github.com>
Marcus Efraimsson committed -
Danilo Bargen committed
-
* Settings: supports env overrrides for dynamic settings * Settings: makes it possible to explicitly get env override support for dynamic settings * Make linter happy
Leonard Gram committed -
* Refactor redirect_to cookie with secure flag in middleware * Refactor redirect_to cookie with secure flag in api/login * Refactor redirect_to cookie with secure flag in api/login_oauth * Removed the deletion of 'Set-Cookie' header to prevent logout * Removed the deletion of 'Set-Cookie' at top of api/login.go * Add HttpOnly flag on redirect_to cookies where missing * Refactor duplicated code * Add tests * Refactor cookie options * Replace local function for deleting cookie * Delete redundant calls Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Jeffrey Descan committed -
* Logs: Fix parsing for logfmt fields that have parens - added `()`, `[]`, and `{}` to be allowed in logfmt field names * Fix matcher
David committed -
Besides minor language corrections, this tries in particular to provide some clarity about the `step` setting in the Prometheus range query and the `$__interval` variable: - First of all: They are both always the same. - What's really confusing (and arguably really un-helpful) is that the _Min time interval_ is multiplied by the resolution factor. Therefore, I just state the fact here now but don't add anything like "This should be the scrape interval" because it is not true (if resolution is `1/10`, a meaningful _Min time interval_ is generally a tenth of the scrape interval). - More helpful is the _Min step_ parameter, because it is not multiplied by the resolution factor (which I have now stated explicitly). Of course, the _Min time interval_ has to be set to something small so that the _Min step_ parameter can kick in. It would be good if we could also override the _Min time interval_ tool tip because that is where most people will look, and the current, very Graphite-centric tool tip is very confusing for the Prometheus query editor, in particular because it doesn't have any hint about the resolution factor being applied. See #21413. Signed-off-by: beorn7 <beorn@grafana.com>
Björn Rabenstein committed
-