Giter Club home page Giter Club logo

Comments (6)

kmoppel avatar kmoppel commented on July 25, 2024 1

@rippiedoos hi, just and update - there's already a PR waiting (#71) to be reviewed by one of my colleagues :)

from pgobserver.

kmoppel avatar kmoppel commented on July 25, 2024

Ok yes, would make sense. Issue didn't pop up in our environment because we create separate service names (IPs) for every database, even if they're on the same cluster. Will attack it soon:)

from pgobserver.

rippiedoos avatar rippiedoos commented on July 25, 2024

I figured something like that was the reason for the current setup. I tried to change the templates and code my self to create a pull request, but after looking at it for 2 hours and going over the different parts of the code it was too much work. I thought I would need to change half of the code because everything is referencing a host. And changing that to host_ui_shortname would not only mean changing methods and templates but also changing queries, api and other parts as well and a lot of testing.

So we created for every database a hosts-file-entry to make the current setup work. It would still be nice to have this implemented but at the moment we switched to services for databases as well. Kind of.

Thanks for the reply!

from pgobserver.

rippiedoos avatar rippiedoos commented on July 25, 2024

@kmoppel That's a substantial PR and looks very promissing! I thank you very much for that! I will install it on our system as soon as I have time for it.

I was heading the same way with my own changes but couldn't get near as close as you did. Also nice to see that you guys react really well to input from others. Thumbs up!!

from pgobserver.

kmoppel avatar kmoppel commented on July 25, 2024

Merged. Sorry, merge took some time :) NB! As the commit message says - a schema migration script from "sql/schema_upgrade/02_performance_views_hostname_to_uishortname.sql" is needed for existing installations. Let me know if encountering any problems. Cheers

from pgobserver.

rippiedoos avatar rippiedoos commented on July 25, 2024

The only problem i'm running into is the constraint on the hosts-table. We used ui_shortnames with underscores in it, what was fine previously. So I changed the constraint to include the _ character and it's running fine now. Thanks for this!

from pgobserver.

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.