Comments (6)
@rippiedoos hi, just and update - there's already a PR waiting (#71) to be reviewed by one of my colleagues :)
from pgobserver.
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.
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.
@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.
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.
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)
- pgobserver.conf HOT 5
- OAuth Authorization Response handling not RFC compliant
- Canβt find the pgobserver.conf file
- pg_stat_statements not working HOT 7
- PGObserver Docker image
- Failing "Quick Test Run Using Vagrant"
- Status of this project? HOT 2
- Gatherer - remove extra spaces before storing pg_stat_statement data HOT 1
- "Unused schemas" view could be improved HOT 1
- Take use of BRIN indexes when Postgres datastore is ver. 9.5+ HOT 1
- On sproc details page add indication about the schema HOT 1
- Improve log output with current database context HOT 1
- Needs Maintainers File, Contributor Guidelines HOT 1
- Improve index bloat estimation
- Wrong REGEX to check for valid S3 URL
- configuration problems HOT 2
- PGObserver resets its accumulated sp_calls metrics on failover of the underlying DB
- build problem: some packages cannot be found HOT 2
- Top pg_stat_statements entries, Host: is empty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgobserver.