Coder Social home page Coder Social logo

Comments (12)

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024 1

Ok I think I have a fix that will use ObjectStatus for DP below 10.5.0.0 and ObjectInstanceCount for newer datapowers

from apiconnect-trawler.

djarcan avatar djarcan commented on June 16, 2024 1

It's on our roadmap to upgrade to API Connect 10.0.5 and it's corresponding GW version which I assume to be 10.5 from your statements. However, I cannot say when this will be happening.

Please create a new image tag after the PR is merged (since we always use pinned versions and not latest)
Thank you very much for the fast fix - It's very much appreciated ❤️

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024 1

Thanks for the fix - this will be in the release I just published v1.7.2

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024

No this won't change the identifier and I have confirmed I'm seeing that list of metrics you mentioned on my test system exactly as they were before.

The previous call was pulling back the lists of objects and counting them in trawler where as this returns the same object types but jsut the count so we can pass it straight into the metrics.

from apiconnect-trawler.

djarcan avatar djarcan commented on June 16, 2024

Thanks, that's good to know.

I activated debug logs and received:

2023-03-16T10:31:35.274148 [datap:INFO] Processing status provider ObjectInstanceCounts                                                                                            
2023-03-16T10:31:35.379187 [datap:DBUG] {"error": ["Invalid class name in the URI."]} 

Maybe you have a hint already regarding that. I will check for further information.

from apiconnect-trawler.

djarcan avatar djarcan commented on June 16, 2024

It seems that ObjectInstanceCounts is not available on our current DataPower Version.
When I call of /mgmt/status/ I only find ObjectStatus but not ObjectInstanceCounts.
We are currently on the DataPower Versions delivered on the API Connect v10.0.1 stream

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024

Yes this was only added in 10.5+ - do you have plans to upgrade to 10.5?

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024

Will have a think about how to fall back to the old method in earlier versions

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024

This is in the new image tagged v1.7.1 - took a little longer to validate as most of our environments were on 10.0.5 variants

from apiconnect-trawler.

djarcan avatar djarcan commented on June 16, 2024

It seems that the timeout was not properly propagated from the DataPowerNet to DataPower class. See: #64

from apiconnect-trawler.

djarcan avatar djarcan commented on June 16, 2024

We just rolled out the changes in our PROD environment and we are getting the metrics now :)
Thank you for your fast responses and help to resolve this issue ❤️

Feel free to close the GitHub issue :)

from apiconnect-trawler.

rickymoorhouse avatar rickymoorhouse commented on June 16, 2024

Fantastic news - and thanks for your help 👍

from apiconnect-trawler.

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.