1. 14 Oct, 2020 17 commits
    • Added hyperlink to Data Source Proxy (#28246) · 64f46d6a
      Hi - Added hyperlink to Data Source Proxy. Pls review and approve.
      
      Thanks,
      Ashish
      ashishagarwal06 committed
    • Cloud monitoring: out-of-the-box dashboards (#27864) · aae4ca75
      * Cloud monitoring: out-of-the-box dashboards
      
      * Remove redundant information related to dev account
      
      * Update docs/sources/features/datasources/cloudmonitoring.md
      
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Rename JSON files
      
      * Fix docs
      
      * Fixe docs
      
      * Parameterise dashboards by CM datasource
      
      * Fix metric kind in CloudSQL dashboard
      
      * Set alias to instance name for GCE dashboard panels
      
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Sofia Papagiannaki committed
    • Build: added steps to generate packages api documentation. (#27930) · b5196f53
      * added steps to generate docs.
      
      * re-generated the drone.yml file.
      
      * removed metrics reporting from pr pipeline.
      
      * fixed spelling issues.
      
      * fixed so package generation should work.
      
      * some small refactorings.
      
      * fixed spelling error.
      
      * adding echo to verify that we execute the correct script.
      
      * removed echo statement.
      
      * changed scripts a bit.
      
      * added ci flag to script.
      
      * adding exit 1
      
      * increased the limit.
      
      * added missing space.
      
      * fixed shellcheck error.
      
      * fixing lint errors.
      
      * renamed build step.
      
      * changed logic.
      
      * increased limit.
      
      * changed to echo instead of echo -e
      
      * fixed shellcheck errors.
      
      * trying to debug script,
      
      * trying to simplify the find statement.
      
      * fixed issue with text formatting on linux.
      
      * imported build step.
      
      * Update scripts/ci-reference-docs-lint.sh
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * removed cleanup of packages.
      
      * increased limit.
      
      * will build frontend docs on master but not lint it.
      
      * will always run the linting step.
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Marcus Andersson committed
    • Dashboard: Do not allow users without edit permission to a folder to see new… · f22b768c
      Dashboard: Do not allow users without edit permission to a folder to see new dashboard page (#28249)
      
      Torkel Ödegaard committed
    • Docker: OpenShift compatability (#27813) · fa45731b
      * openshift wip
      
      * Docker: switches from grafana group to root group
      
      * Docker: make group fully configurable
      
      * Docker: create custom grafana group if needed
      
      * Docker: removes duplicated group permission
      
      * Docker: more unneccesary changes
      Leonard Gram committed
    • Variables: prevent adhoc filters from crashing when they are not loaded properly (#28226) · a7796229
      * fixing so we will present a better error message when loading ad hoc filter variables.
      
      * added tests to verify url parsing.
      
      * added a test to make sure it works the oppisite way.
      Marcus Andersson committed
    • Dashboard: Allow shortlink generation (#27409) · 65940c77
      * intial frontend resolution/redirection logic
      
      * backend scaffolding
      
      * enough of the frontend to actually test end to end
      
      * bugfixes
      
      * add tests
      
      * cleanup
      
      * explore too hard for now
      
      * fix build
      
      * Docs: add docs
      
      * FE test
      
      * redirect directly from backend
      
      * validate incoming uids
      
      * add last_seen_at
      
      * format documentation
      
      * more documentation feedback
      
      * very shaky migration of get route to middleware
      
      * persist unix timestamps
      
      * add id, orgId to table
      
      * fixes for orgId scoping
      
      * whoops forgot the middleware
      
      * only redirect to absolute URLs under the AppUrl domain
      
      * move lookup route to /goto/:uid, stop manually setting 404 response code
      
      * renaming things according to PR feedback
      
      * tricky deletion
      
      * sneaky readd
      
      * fix test
      
      * more BE renaming
      
      * FE updates -- no more @ts-ignore hacking :) and accounting for subpath
      
      * Simplify code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Short URLs: Drop usage of bus
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * ShortURLService: Make injectable
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Rename file
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add handling of url parsing and creating of full shortURL to backend
      
      * Update test, remove unused imports
      
      * Update pkg/api/short_urls.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add correct import
      
      * Pass context to short url service
      
      * Remove not needed error log
      
      * Rename dto and field to denote URL rather than path
      
      * Update api docs based on feedback/suggestion
      
      * Rename files to singular
      
      * Revert to send relative path to backend
      
      * Fixes after review
      
      * Return dto when creating short URL that includes the full url
      
      Use full url to provide shorten URL to the user
      
      * Fix after review
      
      * Fix relative url path when creating new short url
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Co-authored-by: Ivana <ivana.huckova@gmail.com>
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      Pete Davids committed
    • Migration: TestData Query Editor (#27997) · 3225b119
      * Use new editor
      
      * Add basic fields
      
      * Add labels
      
      * Add ids
      
      * Add ManualEntryEditor
      
      * Use tooltip prop
      
      * Switch to inline labels
      
      * Fix inline label tooltip position
      
      * Allow resetting max-width
      
      * Replace form inputs
      
      * Add random walk editor
      
      * separate editors
      
      * Add logs and endpoints fields
      
      * Add PredictablePulseEditor
      
      * Add CSVWaveEditor
      
      * Add grow prop
      
      * Add default query
      
      * Fix types
      
      * Fix manual editor
      
      * Fix type issues
      
      * Handle scenario change
      
      * Sort scenarios by label
      
      * Add ManualEditor test
      
      * Fix label height
      
      * test manual editor
      
      * Update test
      
      * Setup QueryEditor tests
      
      * Fix selected value
      
      * Connect CSVWaveEditor
      
      * Convert stream data to numbers
      
      * Fix random walk editor
      
      * Cleanup
      
      * Convert scenarios to ts
      
      * Remove extra icon styles
      
      * Minor tweaks
      
      * Update e2e tests
      
      * Remove useEffect
      
      * Add missing aria-labels
      
      * Use new button components
      Alex Khomenko committed
    • Chore: Add Dockerfile for Windows CI build environment (#28241) · b10e39a7
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      Arve Knudsen committed
    • Docs: Change grafana to Grafana (#28242) · a8701014
      Hi - Made minor change grafana to Grafana.
      
      Thanks,
      Ashish
      ashishagarwal06 committed
    • Loki: LogQL v2 support (#27884) · e269445d
      * Add new logql v2 functions
      
      * Fix autocompletion if missing ending }
      
      * Refactor operators regex, add pipe operator and tests
      
      * Add parsers
      
      * Update tests
      
      * Add parsers to suggestions, add test
      
      * Add operators to syntax
      
      * Create pipe operator autocomplete + highlighting + add tests
      
      * Add to documentation that pipe operations are available in in Loki 2.0+
      
      * Update snapshot test
      
      * Update operators list, add regex quotes and move cursor
      
      * Fix spelling
      
      * Update documentation
      
      * Update
      Ivana Huckova committed
    • NamedColors: Named colors refactors (#28235) · 451836a8
      * NamedColors: Refactoring, performance improvements, and simplifications
      
      * More simplifification
      
      * Updated to use new function
      
      * Updates
      
      * Updates
      
      * Updated BarGauge to use fallback color intead of magic string
      
      * Updates
      
      * Fixed unused import
      Torkel Ödegaard committed
    • Docs: Change grafana to Grafana (#28243) · 66def25c
      Hi - There is minor change grafana to Grafana in scripted-dashboards page.
      
      Thanks,
      Ashish
      ashishagarwal06 committed
    • change grafana to Grafana (#28244) · f39b3a19
      Hi - Made minor change grafana to Grafana in More examples section.
      
      Thanks,
      Ashish
      ashishagarwal06 committed
    • Azure: Fixes merging of requests with different Azure sources (#28221) · 39d06f26
      * Azure: Fixes merging of requests with different Azure sources
      
      * Refactor: Changes return type
      Hugo Häggmark committed
  2. 13 Oct, 2020 22 commits
  3. 12 Oct, 2020 1 commit
    • AlertingNG: POC of evaluator under feature flag. (#27922) · 4acbcd70
      * New feature toggle for enabling alerting NG
      
      * Initial commit
      
      * Modify evaluate alert API request
      
      * Check for unique labels in alert execution result dataframes
      
      * Remove print statement
      
      * Additional minor fixes/comments
      
      * Fix lint issues
      
      * Add API endpoint for evaluating panel queries
      
      * Push missing renaming
      
      * add refId for condition to API
      
      * add refId for condition to API
      
      * switch dashboard based eval to get method
      
      * add from/to params to dashboard based eval
      
      * add from/to params to  eval endpoint
      
      Co-authored-by: kyle <kyle@grafana.com>
      Sofia Papagiannaki committed