Giter Club home page Giter Club logo

Comments (11)

bigkraig avatar bigkraig commented on September 27, 2024 1

ignore that, the problem was a result of exporting the dashboard from ambari on grafana 2.x and importing into 3. the json has precision = "", i changed it to default, imported again, all good!

from ambari-grafana.

deepak-kosaraju avatar deepak-kosaraju commented on September 27, 2024 1

@prajwalrao
Thanks for the version of ambari plugin for Grafana 3.x. Since my attention was moved towards some other project I didn't get chance to respond to this thread. I will try and share my feedback also on how its working for us.

from ambari-grafana.

syepes avatar syepes commented on September 27, 2024

This would be a great addition!

from ambari-grafana.

bigkraig avatar bigkraig commented on September 27, 2024

@u39kun what do you think about this? i started on some of the work but I get an error and I have no idea what I am doing when it comes to JS..

Error: [ng:areq] Argument 'fn' is not a function, got Object http://errors.angularjs.org/1.5.3/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20Object

from ambari-grafana.

bigkraig avatar bigkraig commented on September 27, 2024

This is my plugin.js

{
  "name": "Ambari",
  "id": "ambari",
  "type": "datasource",

  "staticRoot": ".",

  "partials": {
    "config": "app/plugins/datasource/ambari/partials/config.html"
  },

  "metrics": true,

  "info": {
    "description": "ambari datasource",
    "author": {
      "name": "Yusaku Sako",
      "url": "https://github.com/u39kun"
    },
    "logos": {
      "small": "src/img/simpleJson_logo.svg",
      "large": "src/img/simpleJson_logo.svg"
    },
    "links": [
      {"name": "GitHub", "url": "https://github.com/u39kun/ambari-grafana"},
      {"name": "MIT License", "url": "https://github.com/u39kun/ambari-grafana/blob/master/LICENSE.md"}
    ],
    "version": "1.0.0",
    "updated": "2016-05-26"
  },

  "dependencies": {
    "grafanaVersion": "3.x.x",
    "plugins": [ ]
  }

}

from ambari-grafana.

deepak-kosaraju avatar deepak-kosaraju commented on September 27, 2024

@u39kun
Any update on this issue is appreciated, as you know Grafana 3.x Plugin API is different than 2.x can you please spend sometime for community users to get this addressed.

Thanks..

from ambari-grafana.

u39kun avatar u39kun commented on September 27, 2024

@prajwalrao has done some work on this and got it to work, I believe. I'll ask him to comment.

from ambari-grafana.

prajwalrao avatar prajwalrao commented on September 27, 2024

@kkdk5535 @u39kun I do have a Grafana datasource plugin working with Ambari (> v2.2.2) & AMS. I'Il create a repo for this by the end of this week and let you know.

from ambari-grafana.

deepak-kosaraju avatar deepak-kosaraju commented on September 27, 2024

@u39kun @prajwalrao Thanks to Both.

@prajwalrao We will look forward for your update on this. Thanks for helping community and for your time you contributed for this work.

Have a nice day..

from ambari-grafana.

prajwalrao avatar prajwalrao commented on September 27, 2024

@kkdk5535 Here you go - https://github.com/prajwalrao/ambari-metrics-grafana

I've tried it out with the latest version as of today (v3.0.4) of Grafana, and I've had no issues. Let me know if you have any issues.
~
cc @u39kun @krise3k @syepes @bigkraig

from ambari-grafana.

bigkraig avatar bigkraig commented on September 27, 2024

@prajwalrao trying it out now and I am getting a precision error:

java.lang.Exception: precision should be seconds, minutes or hours

my urls end with "precision="

from ambari-grafana.

Related Issues (4)

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.