Display a Confluence based RSS feed in grafana with cookie/SSO auth

  • What Grafana version and what operating system are you using?
    v9.2.3 ubuntu open source

  • What are you trying to achieve?
    Use the News panel or similar to post release notes/changelog type info on a dashboard

  • TRY 1 How are you trying to achieve it?
    News panel: Doesn’t seem to work with any URL but Grafana Labs Blog on Grafana Labs - trying things like <![CDATA[Stories by Mikhail Volkov on Medium]]> which look like the same XML output but I get the Error loading RSS feed

  • What happened?
    Error

  • What did you expect to happen?
    Display the blog like it does the grafana blog

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    In the panel, this text is rendered:

Error loading RSS feed.

So I’ve given up on the built in NEWS plugin. Maybe if I figure out the auth trick I’ll come back to it. It’s simplicity would be really nice.

  • TRY 2 How are you trying to achieve it?
    Using the Volkovlabs RSS/Atom Data Source etc.
    RSS/Atom plugin for Grafana | Grafana Labs

  • What happened?
    Multiple version of a RSS feed URL from our confluence server fail to authorize.
    This is the base URL generated by confluence’s feed builder

https://<company confluence link>/createrssfeed.action?types=page&pageSubTypes=comment&pageSubTypes=attachment&types=blogpost&blogpostSubTypes=comment&blogpostSubTypes=attachment&spaces=conf_all&title=Beta+Wiki+RSS+Feed&labelString%3D&excludedSpaceKeys%3D&sort=modified&maxResults=10&timeSpan=5&showContent=true&confirm=Create+RSS+Feed&os_authType=basic

When trying this URL in the RSS/Atom datasource plugin, I hit save + test I get
Authentication to data source failed

I’ve tried basic / cookie / any options for the os_authType paramater… maybe there’s another option there I haven’t found documentation for?

  • What did you expect to happen?
    I expected confluence and grafana to play nice together and utilize an oAuth/SSO workflow that would allow users who are connected to Confluence already (with a cookie etc) to be able to render the output from the blog hosted in Confluence.

  • Did you follow any online instructions? If so, what is the URL?
    https://www.youtube.com/watch?v=RAxqS2hpWkg

I cannot make this feed public.

1 Like

@msheppard RSS Data Source does not support authentication and was created for public RSS feeds.

Have you tried Infinity Data Source? It supports RSS feeds and may work for you.

You are welcome to open an issue in the RSS Data source GitHub repository to support authentication: Issues · VolkovLabs/volkovlabs-rss-datasource · GitHub