Giter VIP home page Giter VIP logo

volkovlabs-rss-datasource's People

Contributors

asimonok avatar mikhail-vl avatar vitpinchuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

anthodingo

volkovlabs-rss-datasource's Issues

Trying to merge 3 RSS feeds into 1 text box

Hi I am trying to find a way to add 3 rss data sources to aggregate into 1 text box. My goal is to display RSS feeds from AWS, Azure, GCP status pages to be displayed in 1 text box on Grafana. Could you provide any insight or recommendations.

monitor rss updates

Can this plugin be used to monitor the frequency of updates on an RSS feed and be used as a source for alerts when expected updates are not available? I have approximately 100 feeds to monitor that should be updating several times a week.

Rebuild using 8.3.4

Due to an issue where Grafana would crash when loading a plugin built using a Grafana Toolkit version from 8.3.0 to 8.3.3, we've decided to deprecate these versions. As a result, the latest tag has been set to the latest working version, 8.2.7.
If your plugin was built using one of these versions, you'll need to rebuild the plugin using 8.2.7 or 8.3.4 (when it's released).

For more information, check out the announcement post:
https://community.grafana.com/t/deprecating-grafana-toolkit-versions-from-8-3-0-to-8-3-3/58325

Can't use the data source to create a managed alert

when trying to create a managed alert, I get "Plugin is not available" when Grafana tries to execute the query.

The data source works fine when using the "Explore" feature.

(tried to raise this originally with Grafana support, but they pointed me here instead as they do not support 3rd party plugins)

Unexpected error when retrieving data

Since a week or so I can no longer retrieve data from RSS feeds. When I use the Test button for the datasource it says 'Failed to Fetch' and the query inspector simply says 'Unexpected error'.

Things I have tried:

  • A number of different RSS feeds (though this is the main one I'm trying to use)
  • A number of different versions of grafana and the plugin:
Grafana version Plugin version Worked previously? Works now?
9.3.6 2.3.0 V X
9.3.6 2.4.0 V X
9.4.7 2.4.0 X
9.5.2 2.4.0 X

Any idea what might cause this problem?

Can the cache time be lowered or caching of data be disabled completely?

I've tried using this module to display newsfeeds on screens within a company and we've found that what is displayed is close to useless as theres no way to get it to refresh. Sometimes panels will display an entry from a feed which has been removed days earlier. Obviously this makes it difficult to display anything coherent.

Is there any way to disable the caching (I'm pulling from an internal feed) or to lower the cache time to something more reasonable like 5 minutes?

Failed to install plugin

Hi,

i did try to install the plugin, however it fails.
Any idea why it does not work ?

Using 9.4.7 on proxmox.

regards

v3 digital signature issue?

Looks like a issue with the signature in the newley released v3. Not sure if its a problem here or the grafana side
using grafana v10.0.2

image

Possible to send a dashboard variable to the feed URL as query parameter

Request
I am not sure if this is already possible, but it would be great to set a dashboard variable to the feed URL.

Example

datasources:
  - name: 'Feed'
    type: volkovlabs-rss-datasource
    version: 1
    jsonData:
      feed: http://my-api/resource/activity?parameter=${value}

I believe this might be possible through https://grafana.com/docs/grafana/latest/developers/plugins/add-support-for-variables/#interpolate-variables-in-data-source-plugins?

How to grab image from RSS feed

The Youtube tutorial on the RSS plugin was easy to follow, but I can still not get the images from this RSS feed to appear. Hoping to fix this by modifying the code below.

Thanks in advance for any help!

What I used in the code:

<table width=100% style='border:0'>
  <tr><td style='border:0'><h3>
    <a targeet="_blank" style="color:white"
    href="{{link}}">{{title}}</a></h3>
    {{{content:h4}}}</td>
    <td rowspan=2 style='border:0' width=50px>
      <div style='max-width: 100%; display: inline;
      height:auto '><img width=150px
      src="{{content:img-src}}"></div></td></tr><tr>
        <td style='border:0'><b>
          {{date pubDate 'MMM DD YYYY'}}
          </b></td></table>

Table view:
image

What I see:
image

The images from the RSS feed appear to be in this style of formatting:
<enclosure url="https://www.industrialheating.com/ext/resources/2022-website-images/120222-WisOven-web.png?1669987754" type="image/png" length="430845"/>

Zoom RSS failed to be retrieved

I am trying to retrieve the RSS info from https://status.zoom.us via this plugin, but the test did not pass with error below:
image

From the grafana.log I could find:

logger=sqlstore.transactions t=2024-04-17T22:42:52.799459669+08:00 level=debug msg="skip committing the transaction because it belongs to a session created in the outer scope"
logger=sqlstore.transactions t=2024-04-17T22:42:52.799484233+08:00 level=debug msg="skip committing the transaction because it belongs to a session created in the outer scope"

Seems this is related to https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/news/, thus I added nginx in front of the Grafana with config below:

server{
    listen 443 ssl; 
    server_name <server name A>; 
    ssl_certificate  <cert path>;  
    ssl_certificate_key <key path>;      
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;            
	location / { 
        if ($request_method = 'OPTIONS') {
        add_header 'Access-Control-Allow-Origin' '*';
        add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
        #
        # Custom headers and headers various browsers *should* be OK with but aren't
        #
        add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
        #
        # Tell client that this pre-flight info is valid for 20 days
        #
        add_header 'Access-Control-Max-Age' 1728000;
        add_header 'Content-Type' 'text/plain; charset=utf-8';
        add_header 'Content-Length' 0;
        return 204;
        }
        if ($request_method = 'POST') {
        add_header 'Access-Control-Allow-Origin' '*' always;
        add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
        add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
        add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
        }
        if ($request_method = 'GET') {
        add_header 'Access-Control-Allow-Origin' '*' always;
        add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
        add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
        add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
        }
        proxy_pass https://<server name B>:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
        proxy_set_header Referer https://<server name B>:3000;
	}
}

Issue kept still.

May I know if there is any thing mis-configured?

Grafana version: 10.2.2
Plugin version: 3.1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.