Code Monkey home page Code Monkey logo

Comments (3)

DanShoubridge avatar DanShoubridge commented on August 17, 2024

In the docs https://www.npgsql.org/doc/performance.html says "The feature was removed in Npgsql 5.0."

We are still using Full .Net Framework and version 5.0.1.1 of NpgSQL. I need to performance metrics to diagnose issues that occur under load. Is this possible and how can I do this?, If not possible, does it make sense to roll back or are the features coming soon?

from doc.

roji avatar roji commented on August 17, 2024

Npgsql 5.0 no longer targets .NET Framework - it's usable under .NET Framework because we target .NET Standard 2.0, but the Windows Performance Counter APIs are unavailable there. So it's not possible to continue supporting these, and they won't be coming back.

In .NET Core there's the new cross-platform performance counters (which are also considerably better) - but these aren't available under .NET Framework. I do need to document these for Npgsql (that's what this issue is about).

If you absolutely need counters, you'll have to either switch to .NET Core (which I hope you do at some point anyway), or downgrade back to Npgsql 4.1.

from doc.

DanShoubridge avatar DanShoubridge commented on August 17, 2024

We would love to move to .net core, but this is large legacy codebase and it isn't feasible at the moment. Reverting to the previous version of Npgsql sounds like our only option at the moment. Thanks for responding.

from doc.

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.