Go to file
Alex Hunsaker fa8dafec77
Tempo: fix streaming with TLS without BasicAuth (#100546)
Fixes #100545

Streaming queries/metrics do not work if TLS is enabled and basic auth is not.

"Save & test" while adding/editing a tempo datasource throw `e.data is undefined` in the ui.

Gafana server logs report:

> logger=grafana-apiserver t=2025-02-12T17:55:29.131036665Z level=info msg="[core] [Channel #42 SubChannel #43]grpc:
> addrConn.createTransport failed to connect to {Addr: \"tempo:3200\", ServerName: \"tempo:3200\", }. Err: connection
> error: desc = \"error reading server preface: read tcp 127.0.0.1:55432->127.0.0.1:3200: read: connection reset by
> peer\""

> logger=grafana-apiserver t=2025-02-12T17:55:36.835523455Z level=info msg="[core] [Channel #31 SubChannel #32]grpc:
> addrConn.createTransport failed to connect to {Addr: \"tempo:3200\", ServerName: > \"tempo:3200\", }. Err: connection
> error: desc = \"error reading server preface: EOF\""

Fix by using TLS when enabled regardless of basic auth settings.

Co-authored-by: André Pereira <adrapereira@gmail.com>
2025-04-01 13:41:22 +01:00
.bingo
.changelog-archive
.citools Chore: Update git dependencies (#103159) 2025-04-01 13:10:50 +03:00
.github CI: Don't fail fast on unit tests (#103109) 2025-03-31 16:14:05 +01:00
.husky
.vim
.vscode
.yarn
apps Chore: Update git dependencies (#103159) 2025-04-01 13:10:50 +03:00
conf Revert "Anonymous: Enforce org role Viewer setting (#102070)" (#103043) 2025-03-31 10:31:53 +01:00
contribute
cue.mod
devenv
docs Chore: Update release cadence doc with newer versions (#102941) 2025-03-31 10:00:12 -06:00
e2e Prometheus: Enable Combobox metric select by default (#101045) 2025-03-30 20:24:53 +03:00
emails
grafana-mixin
hack
kinds i18n: Add `locale` to backend (#102233) 2025-03-31 15:59:07 +02:00
kindsv2
local
packages Alerting: Enhance Ruler and Prometheus group synchronization (#99012) 2025-04-01 09:58:09 +02:00
packaging
pkg Tempo: fix streaming with TLS without BasicAuth (#100546) 2025-04-01 13:41:22 +01:00
public NestedFolderList: Folder Expand & Inf Loader Causing Duplicates (#102944) 2025-04-01 08:12:59 -04:00
scripts
tools
.betterer.eslint.config.js
.betterer.results Alerting: Enhance Ruler and Prometheus group synchronization (#99012) 2025-04-01 09:58:09 +02:00
.betterer.ts
.bra.toml
.browserslistrc
.dockerignore
.drone.star
.drone.yml
.editorconfig
.gitattributes
.gitignore
.golangci.yml
.ignore
.levignore.js
.nvmrc
.nxignore
.pa11yci-pr.conf.js
.pa11yci.conf.js
.prettierignore
.prettierrc.js
.trivyignore
.vale.ini
.yarnrc.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
GOVERNANCE.md
HALL_OF_FAME.md
LICENSE
LICENSING.md
MAINTAINERS.md
Makefile
NOTICE.md
README.md
ROADMAP.md
SECURITY.md
SUPPORT.md
WORKFLOW.md
build.go
crowdin.yml
cypress.config.js
embed.go
eslint.config.js
go.mod Chore: Update git dependencies (#103159) 2025-04-01 13:10:50 +03:00
go.sum Chore: Update git dependencies (#103159) 2025-04-01 13:10:50 +03:00
go.work
go.work.sum Chore: Update git dependencies (#103159) 2025-04-01 13:10:50 +03:00
jest.config.js
latest.json
lefthook.rc
lefthook.yml
lerna.json
nx.json
package.json
playwright.config.ts
project.json
stylelint.config.js
tsconfig.json
yarn.lock

README.md

Grafana Logo (Light) Grafana Logo (Dark)

The open-source platform for monitoring and observability

License Drone 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:

  • 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:

Get involved

This project is tested with BrowserStack.

License

Grafana is distributed under AGPL-3.0-only. For Apache-2.0 exceptions, see LICENSING.md.