Skip to content

Add postgres demo#119

Merged
dmehra merged 1 commit intomasterfrom
add-postgres-demo
Jan 27, 2016
Merged

Add postgres demo#119
dmehra merged 1 commit intomasterfrom
add-postgres-demo

Conversation

@dmehra
Copy link
Collaborator

@dmehra dmehra commented Jan 26, 2016

fixes #15

@mstemm please review the docker setup; @VladVega please review the content, it's your initial postgres demo, but dockerized and with the dataset sanitized beyond recognition.

It would be great if one of you stepped through the README to see if it all works for someone who isn't me. Published the image with data: juttle/postgres_diskstats_data

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to also add an external_links directive here, so the linking will still work if there are multiple backend dc-.yml files included on the docker-compose line.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok adding container_name to postgres, so I can do external_links here.

@mstemm
Copy link
Collaborator

mstemm commented Jan 26, 2016

I'd also modify README.md to mention the postgres directory and add it to the "run everything" example.

I also noticed that cadvisor/influx wasn't added in #23, so we should do that as well.

@mstemm
Copy link
Collaborator

mstemm commented Jan 26, 2016

I was able to run all the services through docker and run the juttle programs (as long as I mapped examples into the container, as expected). So I think once the above things are fixed we'll be ready to merge.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe instead of timestamp here it should be timestamp with time zone which preserves the timezone info. Unfortunately simply timestamp type does not. http://www.postgresql.org/docs/9.2/static/datatype-datetime.html

@dmehra
Copy link
Collaborator Author

dmehra commented Jan 26, 2016

@mstemm another look please, all comments are addressed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here, should be docker-compose -f dc-outrigger.yml -f elastic-newstracker/dc-elastic.yml -f cadvisor-influx/dc-cadvisor-influx.yml -f postgres-diskstats/dc-postgres.yml up

@mstemm
Copy link
Collaborator

mstemm commented Jan 27, 2016

Just the one remaining typo then lgtm!

@dmehra dmehra force-pushed the add-postgres-demo branch from d370ac9 to b0c93a1 Compare January 27, 2016 03:48
@dmehra
Copy link
Collaborator Author

dmehra commented Jan 27, 2016

Fixed typo, rebased, will merge.

dmehra added a commit that referenced this pull request Jan 27, 2016
@dmehra dmehra merged commit 75430a9 into master Jan 27, 2016
@dmehra dmehra deleted the add-postgres-demo branch January 27, 2016 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add demo examples

3 participants