Skip to content

NATS Server Dashboard using deprecated angular panels #283

Open
@betamos

Description

@betamos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSuspected defect such as a bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions