The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Go to file
Totalus 7db42f0a3c
Transformations: Adding group by and aggregate on multiple fields transformation
* Adding Occurences transformer

* Adding test for Occurences Transformer

* Cleanup. Adding a test.

* Adding doc

* Modifying UI to support custom calculations options

* Implementing data transformation

* Finalizing calculations implementation

* Cleanup

* Using Fields instead of arrays in data grouping

* Renaming transformation to GroupBy

* Adding some doc

* Apply suggestions (solving TS typing errors)

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Tweaking UI

* Preventing of selecting twice the same field name.

* Removing console print. No calculations by default.

* Forgot to add the current value to the GroupBy selector

* Solving some typing issues and prettyfier errors

* Cleanup

* Updating test

* Ensure proper copy of options (solves some issues)

* Check if the fields exist in the data before processing

* Adding missing import in test file

* If group by field not specified, return all data untouched.

* Adding another missing import in test

* Minor updates

* Implementing GroupBy multiple fields + Improve field typing

* Removing console prints

* Allowing the exact number of fields to be added as aggregation

* Centering remove button icon

* Cleanup

* Correcting TS error

* Chaging transformer options structure

* Sorting so GroupBy fields appear on top

* Cleanup

* Simplifying some operations. Adding curly brackets.

* Changing some labels on the UI

* Updating test

* Cleanup

* Updating doc

* Fixed field list. Storing options as Record instead of Array.

* Update test

* Cleaned up the group by editor UI code.

* changed the transform to a table layout instead of a flexbox layout.

* cleaned up group by transformer.

* removed unused imports.

* Added some more tests.

* Added one more test and cleaned up code.

* fixed failing test.

* Fixed so we we have the proper casing on naming.

* fixed so we don't wrap on the first row.

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-08-31 10:46:30 +02:00
.circleci Fix Cypress dependency error (#27252) 2020-08-27 17:14:28 -04:00
.github Issue Template: @grafana/ui component request (#25981) 2020-07-09 18:00:28 +03:00
conf Generic OAuth: customize login and id_token attributes (#26577) 2020-08-03 17:33:27 +03:00
contribute Update documentation-style-guide.md (#26706) 2020-07-30 11:31:49 -07:00
devenv InfluxDB: Upgrade InfluxDB in devenv (#26983) 2020-08-19 09:23:11 +02:00
docs Transformations: Adding group by and aggregate on multiple fields transformation 2020-08-31 10:46:30 +02:00
e2e Grafana-UI: BarGauge docs (#27188) 2020-08-26 14:44:08 +03:00
emails Chore: MEGA - Make Eslint Great Again 💅 (#26094) 2020-08-11 17:52:44 +02:00
packages Transformations: Adding group by and aggregate on multiple fields transformation 2020-08-31 10:46:30 +02:00
packaging Docker: Don't upgrade packages when installing (#24132) (#26055) 2020-07-28 17:07:23 +02:00
pkg Core: Add go-grpc-middleware dependency (#27231) 2020-08-28 15:33:21 +02:00
plugins-bundled Chore: bumped version to next minor. (#25971) 2020-07-01 13:26:36 +02:00
public Transformations: Adding group by and aggregate on multiple fields transformation 2020-08-31 10:46:30 +02:00
scripts CI: Upgrade build pipeline tool (#27120) 2020-08-21 11:42:57 +02:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.babelrc Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
.bra.toml Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
.browserslistrc Fix: Autoprefixer is now working (#16351) 2019-04-02 18:15:30 +02:00
.dockerignore remove duplicated /tmp entry in .dockerignore 2018-08-09 09:10:53 +02:00
.drone.star Drone: Enable master branch testing (#26367) 2020-07-17 13:52:09 +02:00
.drone.yml CI: Upgrade build pipeline tool (#27120) 2020-08-21 11:42:57 +02:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintrc Chore: MEGA - Make Eslint Great Again 💅 (#26094) 2020-08-11 17:52:44 +02:00
.gitignore Chore: MEGA - Make Eslint Great Again 💅 (#26094) 2020-08-11 17:52:44 +02:00
.prettierignore Updated prettierignore 2019-03-08 13:56:21 +01:00
.prettierrc.js Prettier: Add prettier config that imports prettier from toolkit (#23729) 2020-04-21 17:23:49 +02:00
api-extractor.json Docs: added code comments for everything in the @grafana/runtime package. (#23456) 2020-04-15 10:46:51 +02:00
build.go Build: Let building of Go code work even if $GOPATH isn't set (#25805) 2020-06-25 08:38:17 +02:00
CHANGELOG.md Release 7.1.5 (#27177) 2020-08-25 12:08:01 +02:00
CODE_OF_CONDUCT.md Change conduct contact email address (#26619) 2020-07-27 14:41:27 +02:00
CONTRIBUTING.md Updated URL for developing plugins (#25521) 2020-06-11 10:43:20 +02:00
Dockerfile CI: Upgrade Go and Node versions in CI build image (#26888) 2020-08-10 10:45:35 +02:00
Dockerfile.ubuntu CI: Upgrade Go and Node versions in CI build image (#26888) 2020-08-10 10:45:35 +02:00
go.mod Core: Add go-grpc-middleware dependency (#27231) 2020-08-28 15:33:21 +02:00
go.sum Core: Add go-grpc-middleware dependency (#27231) 2020-08-28 15:33:21 +02:00
GOVERNANCE.md Chore: Fix spelling (#25905) 2020-06-30 00:13:25 -07:00
Gruntfile.js Chore: MEGA - Make Eslint Great Again 💅 (#26094) 2020-08-11 17:52:44 +02:00
ISSUE_TRIAGE.md Chore: fix spelling of GitHub (#26182) 2020-07-22 08:12:50 -07:00
jest.config.js Testing: Use React Testing Library (#27072) 2020-08-20 16:21:42 +03:00
latest.json Chore: Updates latest.json for Release 7.1.5 (#27192) 2020-08-25 12:46:31 +02:00
lerna.json Chore: bumped version to next minor. (#25971) 2020-07-01 13:26:36 +02:00
LICENSE Small license correction 2019-03-21 16:36:24 +01:00
MAINTAINERS.md Give Grafana a public governance (#24802) 2020-05-18 19:26:35 +02:00
Makefile CI: Upgrade golangci-lint and base image (#26892) 2020-08-10 18:38:53 +02:00
NOTICE.md Update NOTICE.md 2018-08-09 10:51:04 +02:00
package.json BackendSrv: Use uuid v4 as an identifier instead of Date.now() (#27176) 2020-08-25 08:58:21 +02:00
PLUGIN_DEV.md Update PLUGIN_DEV.md (#19387) 2019-09-26 12:40:47 +02:00
README.md Docs: Remove GrafanaCONline info from readme (#25655) 2020-06-17 12:57:40 +02:00
ROADMAP.md Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
SECURITY.md Docs: Fix broken link (#25664) 2020-06-18 14:08:26 +02:00
SUPPORT.md Update SUPPORT.md (#19383) 2019-09-25 07:17:01 +02:00
tsconfig.json Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
UPGRADING_DEPENDENCIES.md Backend: Remove Go vendor folder (#23796) 2020-04-23 13:23:51 -04:00
WORKFLOW.md Add WORKFLOW.md (#25461) 2020-06-16 20:47:08 +02:00
yarn.lock Transformations: enable transformations reordering (#27197) 2020-08-31 08:47:27 +02:00

Grafana

The open-source platform for monitoring and observability.

License Circle CI Go Report Card

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data driven culture:

  • Visualize: Fast and flexible client side graphs with a multitude of options. Panel plugins for many different way to visualize metrics and logs.
  • Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.
  • Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.
  • Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.
  • Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.
  • Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.

Get started

Unsure if Grafana is for you? Watch Grafana in action on play.grafana.org!

Documentation

The Grafana documentation is available at grafana.com/docs.

Contributing

If you're interested in contributing to the Grafana project:

Get involved

License

Grafana is distributed under the Apache 2.0 License.