1. 30 Dec, 2019 4 commits
  2. 29 Dec, 2019 1 commit
  3. 27 Dec, 2019 2 commits
    • Prometheus: improve tooltips (#21247) · 36aad1c1
      * Prometheus data source: Update tooltip for _Scrape interval_
      
      The old tool tip was plainly wrong. The globally configured scrape
      interval is not necessarily the most used scrape interval, so the new
      wording is describing what actually matters. The evaluation interval
      wasn't even mentioned before. And finally, the configured value is
      not strictly a lower limit for the step query parameter as it can be
      overridden by the panel option _Min time interval_.
      
      I plan to explain the overriding intricacies in the tool tip for _Min
      time interval_.
      
      Signed-off-by: beorn7 <beorn@grafana.com>
      
      * Improve tooltip for _Min step_
      
      The previous tool tip was mostly addressing aspects that are not
      specific to _Min step_ (and might be more appropriate to be added to
      the _Min time interval_ tool tip as that setting has a wider
      scope). The new version emphasizes the important gotchas: that this is
      an _additional_ lower limit, and that it is _not_ multiplied by the
      resolution factor.
      
      Signed-off-by: beorn7 <beorn@grafana.com>
      
      * Fixed snapshot
      
      Co-authored-by: David <david.kaltschmidt@gmail.com>
      Björn Rabenstein committed
    • Explore: Moves PromContext from query level to DataQueryRequest level (#21260) · 45b7de19
      Closes #19598
      
      Fixes bug introduced recently where the new PromQueryEditor did not preserve
      the PromContext.Explore set on the query model by PromQueryField which caused
      the table to be empty for Prometheus in explore.
      Torkel Ödegaard committed
  4. 26 Dec, 2019 1 commit
  5. 25 Dec, 2019 1 commit
  6. 24 Dec, 2019 3 commits
  7. 23 Dec, 2019 13 commits
    • Docs: fix typo (#21190) · e031cbb1
      Maisy Kim committed
    • Promtheus: Fix hint and error display for query rows (#21242) · d0ba6443
      - prometheus explore editor introduced new styles for the hint display
      - when multiple rows are rendered the hints are covered because they are
      forced to have 0 height
      - this change removes the 0-height
      David committed
    • Docs: fixed broken doc link for graph and table panels (#21238) · bc10a696
      * fixed  broken doc link
      
      * fixed broken doc link
      vikkyomkar committed
    • Docs: fix of broken doc link in the dashlist panel's help section (#21230) · 68f73b18
      * fixed the broker link of dashlist panel docs
      
      * fixed broken document link
      vikkyomkar committed
    • Docks: Update provisioning.md with proper Slack settings (#21227) · 15fed09c
      From the below link seems that these are the proper slack settings, and I was able to test/verify. 
      https://github.com/grafana/grafana/blob/master/pkg/services/alerting/notifiers/slack.go
      yeungalan0 committed
    • Editor: Ignore closing brace when it was added by editor (#21172) · 6ac53a13
      * Editor: Ignore closing brace when it was added by editor
      
      - brace completion gets annoying if the user still types closing brace
      - this change marks automatically added closing braces and when the user
      types a closing brace at that position, it will be overridden instead of
      added
      
      * Fix label suggestions
      
      * Correct brace behavior, but broken completion
      
      * Rewrite auto-match detection with annotations
      David committed
    • Explore: moves add query row button below query rows (#20522) · 74924c82
      * Explore: updates Query Row component, moves latency to query row actions
      
      * Explore: updates query row actions - adds latency and removes add row button
      
      * Explore: updates explore toolbar props, adds index of the last query row
      
      * Explore: updates toolbar, adds add new row button
      
      * Explore: updates add new query row toolbar button title to add query
      
      * Explore: updates query row actions - adds disabled property on latency button
      
      * Explore: updates query row actions snapshot
      
      * Explore: updates styles
      
      * Explore: updates query row, removes latency
      
      * Explore: updates query row actions, removed latency
      
      * Explore: updates query row actions test and snapshot
      
      * Explore: updates toolbar, moves add new query row button below query rows
      
      * Explore: updates add query row button color and adds transparent background to latency div
      
      * Explore: updates styles for add query row button responsiveness
      
      * Explore: updates query row with latency button, fixes alignment of overall latency
      
      * Explore: updates query row actions snapshot
      
      * Explore: removes overall latency
      
      * Explore: updates query row latency - removes mouseover-triggered style changes
      
      * Explore: updates query row actions snapshot
      
      * Explore: moves styles from scss to emotion
      
      * Add row button: Removed responsiveness, reused query row styles
      
      Co-authored-by: David <david.kaltschmidt@gmail.com>
      Lukas Siatka committed
    • Explore: adds PrometheusExploreQueryEditor (#20195) · 1de24cc9
      * Explore: updates prom query field styles with flex-grow
      
      * Explore: adds prometheus explore query editor
      
      * Explore: updates step input width in prom explore query editor
      
      * Explore: updates prom explore query editor step field input placeholder to auto
      
      * Explore: updates prom explore query editor to include history
      
      * Explore: updates prom explore query editor, removes unused lodash import
      
      * Explore: updates step spacing in prom explore query editor
      
      * Explore: updates prom explore query editor - moves logic to query field
      
      * Explore: updates prom query field - adds step field with conditional rendering
      
      * Explore: updates promql cheat sheet with step description
      
      * Explore: updates prom cheat sheet  step description
      
      * Explore: updates styles - adds query row break class
      
      * Explore: moves back step markup to PromExploreQueryEditor
      Lukas Siatka committed
    • Simplify adjustInterval (#21226) · 7e8f4d0b
      Much easier to wrap one's head around it if it is expressed more
      directly.
      
      This is not mathematically the same as the previous version involved
      more rounding than necessary because of the way the intervalFactor was
      handled. I'd argue the new version is better because it gets closer to
      the 11,000 points limit and thus approaches better what the user
      wanted within the limits of Prometheus.
      
      Note that in practice, the 11,000 points limit should never be of
      relevance. (Even a 4k screen doesn't have 11k points on the x axis.)
      
      Signed-off-by: beorn7 <beorn@grafana.com>
      Björn Rabenstein committed
    • Table: Component progress & custom FieldConfig options (#21231) · 3347b45a
      * Table: Set & use field display processor
      
      * Use applyFieldOverrides outside in story instead
      
      * Change types a bit
      
      * Table: Move to flexible layout
      
      * Simplest possible custom field option
      
      * Skip default column
      
      * Added textAlign
      
      * Explore: Set display processor for table data frame
      
      * Fixed storybook
      
      * Refactoring
      
      * Progress on cell display mode
      
      * Major progress
      
      * Progress & refactoring
      
      * Fixes
      
      * Updated tests
      
      * Added more tests
      
      * Table: Progress on cell style customization
      
      * Restored testdata random walk table scenario
      
      * put back unrelated change
      
      * remove unused things
      
      * Updated table story
      
      * Renamed property
      
      Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
      Torkel Ödegaard committed
    • Chore: remove StreamHandler and DataStreamState (#21234) · 8d537b7a
      * remove StreamHandler
      
      * remove DataStreamState
      Ryan McKinley committed
  8. 21 Dec, 2019 1 commit
  9. 20 Dec, 2019 9 commits
    • docs: rename premium plugins to enterprise plugins (#21222) · 5addf9fa
      * rename premium plugins to enterprise plugins
      
      * Update docs/sources/enterprise/_index.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Dan Cech committed
    • New bar gauge style: Unfilled (#21201) · 392819c5
      * BarGauge: Added unfilled option
      
      * Fixed white theme and added 2 unit tests
      
      * Added another demo dashboard
      
      * Fixed dev env dashboards
      Torkel Ödegaard committed
    • Dashboard: new updated time picker (#20931) · 587e4009
      * Dashboard: started to implement new time picker.
      
      * TimePicker: working in full screen (except calendar).
      
      * TimePicker: first draft on narrow screen variant.
      
      * TimePicker: small adjustments to the narrow design.
      
      * TimePicker: enabled range selection and started to style calendar.
      
      * TimePicker: applied some more styling.
      
      * Calendar: added so the calendar range selection is styled properly.
      
      * Calendar: added styling for timepicker calendar in narrow screen.
      
      * TimePicker: made it possible to select range from calendar.
      
      * TimePicker: made the calendar have previous selected value.
      
      * TimePicker: moved calendar to be able to update form state.
      
      * TimePicker: calendar is now displayed onFocus or onClick.
      
      * TimePicker: calendar will be closed if click outside input.
      
      * Calendar: fixed the styling of the calendar in narrow screen.
      
      * Calendar: made it work properly with narrow screen.
      
      * TimePicker: connected recent to absolute time range.
      
      * TimePicker: changed the label on recent ranges.
      
      * TimePicker: cleaned up the range list and options.
      
      * TimePicker: some more cleaning up.
      
      * TimePicker: cleaned up the calendar a bit.
      
      * TimePicker: some more refactorings.
      
      * TimePicker: refactorings.
      
      * TimePicker: styled modal properly.
      
      * TimePicker: empty recent list.
      
      * TimePicker: width when calendar in full screen.
      
      * TimePicker: will validate input value.
      
      * TimePicker: removed unused code.
      
      * TimePicker: positioning with emotion instead of sass.
      
      * Calendar: Made sure we send the dates in the correct order to the calendar.
      
      * TimePicker: fixed theme.
      
      * TimePicker: fixed positioning of the content.
      
      * TimePicker: positioning of narrow.
      
      * TimePicker: added some simple tets.
      
      * TimePicker: fixed issue with invalid and added error message.
      
      * TimePicker: added history.
      
      * TimePicker: cleaned up snapshot data.
      
      * TimePicker: fixed so we keep the quick values in the input.
      
      * TimePicker: fixed the missing styling on UTC.
      
      * TimePicker: added missing caret icon.
      
      * TimePicker: fixed formatting on recent time ranges.
      
      * TimePicker: added missing -.
      
      * TimePicker: refactorings after feedback.
      
      * TimePicker: renamed reserved prop name.
      
      * TimePicker: added missing onChange call.
      
      * TimePicker: removed alternative return type.
      
      * TimePicker: fixed the sorting order on the recent list.
      
      * TimePicker: added useCallback for the onEvent functions.
      
      * TimePicker: moving away from default export.
      
      * TimePicker: used the isMathString instead of private function.
      
      * TimePicker: minor refactoring simplify the code.
      
      * TimePicker: Added empty container that will expand when less then 4 recent searches.
      
      * TimePicker: changed the top to be absolute relative to the container.
      
      * TimePicker: updated snapshots for failing tests.
      
      * Fixed shadow
      
      * Move it down a bit
      
      * added some more tests.
      
      * Fixed so we change the anchor point of the time picker in really small screens.
      
      * removed memo.
      
      * fixed snapshot.
      
      * Make sure that we always use the correct timeZone when formatting output.
      
      * Fixed form background.
      
      * Some minor fixes after demo.
      
      * Making sure that empty info box is centered.
      
      * updated snapshots for timepicker after css changes.
      
      * fixed so we don't overflow when input validation error.
      
      * adjusted final things on the time picker.
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Marcus Andersson committed
    • Metrictank: fix bundled dashboard (#21209) · 104c2e36
      * update metrictank dashboard
      
      * Restored dashboard datasource variable, and improved error handling in the import api handler
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Ryan McKinley committed
    • Tooltip: preventing xss injections via the colors variable. (#21203) · 05d831df
      * Tooltip: preventing xss injections via the colors variable.
      
      * added xss check for single series tooltop color.
      
      * added sanitize to the hoverInfo.value.
      Marcus Andersson committed
  10. 19 Dec, 2019 5 commits