06278615fbbc1714adaa1920f04ac3ba29678bfa
* fix: increase login_attempt.ip_address column length for IPv6 support - Expand ip_address column from VARCHAR(30) to VARCHAR(50) to accommodate IPv6 addresses - Add database migration with support for PostgreSQL, MySQL, and SQLite - Add comprehensive integration tests for various IPv6 address formats - Resolves 500 errors when login fails over IPv6, now returns proper 401 errors Fixes #106362 * test: add missing test skip to TestIntegrationIPv6AddressSupport Skip integration test when running with -short flag to separate unit and integration tests * Update pkg/services/sqlstore/migrations/login_attempt_mig.go Co-authored-by: Victor Cinaglia <victor@grafana.com> * fix missing bracket * fix: resolve PostgreSQL timestamp overflow in IPv6 test - Use controlled time mock instead of time.Now() to avoid timestamp conversion issues - Follow existing test patterns with xormStore and mock time functions - Add proper Since parameter to GetIPLoginAttemptCount query - Fixes PostgreSQL error: 'pq: value "-62135596800" is out of range for type integer' * fix: resolve PostgreSQL UTF-8 encoding error in IPv6 test Replace string(rune(i)) with fmt.Sprintf to avoid null bytes (0x00) when i=0, which caused 'invalid byte sequence for encoding UTF8' error --------- Co-authored-by: Victor Cinaglia <victor@grafana.com>
…
…
…
…
…
…
The open-source platform for monitoring and observability
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:
- Visualizations: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways 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:
- Start by reading the Contributing guide.
- Learn how to set up your local environment, in our Developer guide.
- Explore our beginner-friendly issues.
- Look through our style guide and Storybook.
Get involved
- Follow @grafana on X (formerly Twitter).
- Read and subscribe to the Grafana blog.
- If you have a specific question, check out our discussion forums.
- For general discussions, join us on the official Slack team.
This project is tested with BrowserStack.
License
Grafana is distributed under AGPL-3.0-only. For Apache-2.0 exceptions, see LICENSING.md.
Description
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.
alertinganalyticsbusiness-intelligencedashboarddata-visualizationelasticsearchgografanahacktoberfestinfluxdbmetricsmonitoringmysqlpostgresprometheus
Readme
AGPL-3.0
2.7 GiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
52.9%
Go
44.3%
CUE
0.7%
Rich Text Format
0.5%
HTML
0.4%
Other
1%

