GithubHelp home page GithubHelp logo

Comments (11)

maxfields2000 avatar maxfields2000 commented on July 26, 2024 7

Agh! No not yet, I really need to get that published. Will try to do it this weekend.

from dockerjenkins_tutorial.

 avatar commented on July 26, 2024 1

Hello it seems like the graphite metrics report ignore pipeline jobs, only freestyle jobs seems to be reported in the dashboard. From my understanding, it's the metric jenkisn plugin that has issues with pipeline jobs be they single or multi branch

from dockerjenkins_tutorial.

jason-riddle avatar jason-riddle commented on July 26, 2024

Any update by chance?

from dockerjenkins_tutorial.

maxfields2000 avatar maxfields2000 commented on July 26, 2024

@jason-riddle

It's not complete but here's a good start! https://github.com/maxfields2000/dockerjenkins_tutorial/tree/master/monitoring

from dockerjenkins_tutorial.

maxfields2000 avatar maxfields2000 commented on July 26, 2024

I still need to hook up cadvisor/container monitoring. Debating if I should just push up the influxdb0.9 I have or try to get t hings working on influxDB1.2.

from dockerjenkins_tutorial.

jason-riddle avatar jason-riddle commented on July 26, 2024

Awesome thanks! For the cadvisor monitoring stuff, maybe you should just release what you have and then make a note about it only working with influx 0.9 for now. Were there drastic changes between 0.9 and 1.2?

from dockerjenkins_tutorial.

maxfields2000 avatar maxfields2000 commented on July 26, 2024

That's probably what I'll do as it works and the images are still valid. Influx 1.2 no longer has an admin UI which I was using as part of my setup to create the right databases. Some API changes but I think Cadvisor has been updated to support it so I'll have to lock to an old version of cadvisor like I do at work. Nothing to big.

So yea I'll release some cleanups with that in place with a big ol' caveat that a newer version is coming once I get my learn on with the new influx CLI/non-UI setup stuff.

from dockerjenkins_tutorial.

 avatar commented on July 26, 2024

Also i tried the influxdb route, my issue with is that to get any data in influx, you basically have to add a post stage action to send job data to influxdb in every job... that method could be hard to scale

from dockerjenkins_tutorial.

maxfields2000 avatar maxfields2000 commented on July 26, 2024

@exuperok Oi, that's got to be because the "metrics" plugin in Jenkins doesn't recognize the pipeline project type, interesting I'll see what outstanding issues there are there or if it's reported int he data some other way.

from dockerjenkins_tutorial.

 avatar commented on July 26, 2024

@maxfields2000 I researching that too, for now I made a simple shared library so that developers adds a simple step like sendDatatoInflux to their pipeline as temp solution

from dockerjenkins_tutorial.

maxfields2000 avatar maxfields2000 commented on July 26, 2024

Ironically I did something similar, I wrote a shared pipeline library to extract that data by querying Jenkins via groovy and send it to Elastic Search (a breakdown of jobs by type actually, pipelines, folders, multi-branch, org, maven project, freestyle etc). It would appear that the metrics plugin just doesn't track anything except Project types which won't match the other job types because tehy don't inherit from it.

I can't really fix this here so I'm going to close this issue, but I'm noodling on how to do a good series on Jenkins metrics that will cover these challenges.

from dockerjenkins_tutorial.

Related Issues (20)

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.