Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NATS Server Dashboard using deprecated angular panels #283

Open
betamos opened this issue Mar 14, 2024 · 2 comments
Open

NATS Server Dashboard using deprecated angular panels #283

betamos opened this issue Mar 14, 2024 · 2 comments
Labels
defect Suspected defect such as a bug or regression

Comments

@betamos
Copy link

betamos commented Mar 14, 2024

What version were you using?

nats 2.10.12
nats-exporter 0.14.0
grafana v11.0.0-67348 (778d80f922)

I'm running the nats server on fly.io, using their Prometheus on Fly.io as a data source
The grafana instance is running on grafanacloud free tier.

What environment was the server running in?

FROM natsio/prometheus-nats-exporter:0.14.0 AS prom

FROM nats:2.10.12 AS nats

FROM alpine:latest

COPY --from=nats /nats-server .
COPY --from=prom /prometheus-nats-exporter .

COPY server.conf server.conf
COPY start.sh start.sh

CMD ./start.sh

Is this defect reproducible?

I imported walkthrough/grafana-nats-dash.json into grafana upon creating a new dashboard.

Not sure when, but looks like grafana is doing a major deprecation of angular-based plugins, panels etc.

So yes, it is probably reproducible anywhere grafana runs above a certain version.

Given the capability you are leveraging, describe your expectation?

No warnings in grafana.

Given the expectation, what is the defect you are observing?

All panels give a warning "This panel requires Angular (deprecated)". Otherwise things works as expected. Note that the jetstream dashboard json works just fine, no warnings.

I tried the auto-migrate from the side-panel in edit mode, which converts the panel from type "Graph (old)" to "Time series".
It seems to have worked - my graphs remain the same. I can not guarantee this works in all cases - my setup is quite simple.

Happy to export the JSON and send a PR. Let me know.

@betamos betamos added the defect Suspected defect such as a bug or regression label Mar 14, 2024
@somratdutta
Copy link

hey @betamos,
I tried recreating this using the Grafana Cloud and Free Tier (w/o connecting to a Prometheus DS), but I got no such error.
Can you make sure this issue still persists?

@piotrpio
Copy link
Contributor

Hey @betamos. I can confirm what @somratdutta said, I don't see any warnings using grafana 11.2.0 (latest). Additionally, dashboards from walkthrough directory don't use any non-bundled plugins, so not sure which one would be causing an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

3 participants