1. 14 Oct, 2020 11 commits
    • 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 7 commits
    • 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
    • Alerting: remove obsolete notifiers (after user confirmation) (#28190) · 3928d0c5
      * Alerting: remove obsolete notifiers (after user confirmation)
      
      * Additional text in confirmation modal
      Sofia Papagiannaki committed
    • CloudWatch: Re-implement authentication (#25548) · 957c88ea
      * CloudWatch: Revisit authentication
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Simplify auth code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use ARN
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add Drone configuration
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove unused code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove .drone.yml
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix external ID usage
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Fix issues after merge
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove stale code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove stale code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use auth type enum
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix test snapshot
      
      * Coordinate frontend and backend option names
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove old comments
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix front-end tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Introduce session cache
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use constants
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix field alignment
      
      * CloudWatch: Fix log message
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Tidy go.mod
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Handle arn auth type
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Fix role assumption duration
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix test
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Inline unnecessary constants
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Use serial comma in UI
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Inline unnecessary constants
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Fail if missing region
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Handle unconfigured region
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Log when using cached session
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Include region in cache key
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add UI warnings for lecagy support
      
      * Do not clear ARN fields whenging change authentication provider
      
      * Graph NG: annotations display (#27972)
      
      * Annotations support POC
      
      * Fix markers memoization
      
      * dev dashboard update
      
      * Update public/app/plugins/panel/graph3/plugins/AnnotationsPlugin.tsx
      
      * CloudWatch: Remove errors.BadRequest
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Undo unintentional change
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove log line
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix cache key computation
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add region to cache key
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve log messages
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CloudWatch: Add documentation
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve tooltip
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve docs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve docs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve docs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve tooltip
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add role assumption provisioning example
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add upgrade notes
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Improve docs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      
      * backend: use latest sdk (#28147)
      
      fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
      
      * Docs: Update Permissions documentation (#28144)
      
      * removed overview.md
      
      * content updates
      
      * Update datasource_permissions.md
      
      * update content
      
      * content updates
      
      * Update organization_roles.md
      
      * Update docs/sources/enterprise/saml.md
      
      Co-authored-by: Kyle Brandt <kyle@grafana.com>
      
      * Update dashboard_folder_permissions.md
      
      Co-authored-by: Kyle Brandt <kyle@grafana.com>
      
      * area/grafana/toolkit: ci-package needs to use synchronous writes (#28148)
      
      * ci needs to use synchronous writes or the file ends up with zero length
      
      * <Enterprise Docs> Add instructions to upload license via UI (#28067)
      
      * Add UI license upload option, reformat Enterprise license activation section
      
      Added the option to upload a license file through the Server Admin UI, and did a little reformatting to make license activation look more like a process.
      
      * Headers not bold, hyphens not asterisks
      
      * Github: run metrics collector workflow every 10min (#28153)
      
      * GithubActions: Updated cron schedule
      
      * Updated
      
      * Docs: Update explore docs: remove dot at the end of line (#28151)
      
      HI - Removed Dot(.) at the end of line to make it consistent with other 2 points.
      
      Thanks,
      Ashish
      
      * Fix frontend tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix frontend tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Docs: Update upgrade notes
      
      Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      Co-authored-by: Kyle Brandt <kyle@grafana.com>
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
      Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Co-authored-by: ashishagarwal06 <34888589+ashishagarwal06@users.noreply.github.com>
      Arve Knudsen committed
    • Datasource: Prefix SigV4 json data keys with sigV4 (#28195) · 519ec93c
      Prefixes SigV4 json data and secure json data keys with sigV4 to make 
      sure they don't collide with any other settings. Also minor fixes to UI.
      
      Ref #27552
      Marcus Efraimsson committed
    • Azure: Fixes cancellation of requests with different Azure sources (#28180) · 7b5decdb
      * Azure: Fixes cancellation of requests whit different Azure query types
      
      * Azure: Fixes cancellation of requests whit different Azure query types
      Hugo Häggmark committed
    • Cloud monitoring: Add REDUCE_MEAN reducer for cumulative metrics (#28192) · 83a6a514
      * Cloud monitoring: Add REDUCE_MEAN reducer for cumulative metrics
      
      * Fix tests
      Sofia Papagiannaki committed