Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Active sessions from Grafana

Active sessions from Grafana

Scheduled Pinned Locked Moved Support
9 Posts 3 Posters 92.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    MarcusH
    wrote on last edited by
    #1

    Hi,

    I have a problem that i am trying to understand and see if it is something that can be fixed with config.

    When i refresh a dashboard in grafana that has alot of unique DCI values, every tile creates its own session to the server via the webapi meaning you max out available connections to the server and then everything hangs until sessions starts to close.
    What i trying to understand if this is how grafana works or is it the netxms datasource plugin or webapi that causes this problem.

    If anyone has any knowledge of this i'd be happy to hear it.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      at first glance it looks like issue with data source plugin. Somebody from the team will take a look.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        Hi,

        just fixed that (commit e4f0dfc in netxms/grafana repository). If you have installed NetXMS datasource from GitHub you can update it now, otherwise you'll have to wait some time while it will be updated in official Grafana repository.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • M
          M
          MarcusH
          wrote on last edited by
          #4

          Hi,

          tested the version from github and i still get alot of connections


          session.png

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            You are testing version 1.2.3, correct?

            1 Reply Last reply
            0
            • M
              M
              MarcusH
              wrote on last edited by
              #6

              correct 1.2.3

              1 Reply Last reply
              0
              • M
                M
                MarcusH
                wrote on last edited by
                #7

                Just to be clear this is when dashboard is refreshed or loaded in the browser after some time the connections are closed and then only one connection per browser session is open and is used for when a grafana updates.
                So it is only when browser loads it creates many connections not when grafana updates.

                1 Reply Last reply
                0
                • A
                  A
                  Alex Kirhenshtein
                  wrote on last edited by
                  #8

                  thanks for clarification, I'll check it.

                  1 Reply Last reply
                  0
                  • M
                    M
                    MarcusH
                    wrote on last edited by
                    #9

                    Can it be the webapi?

                    Tested some other things with grafana and i noticed that all the connections live long after grafana is closed i.e no data polling.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups