Skip to content

Make it possible to specify a directory path#354

Closed
slater-brian-john wants to merge 3 commits into
prometheus:masterfrom
slater-brian-john:master
Closed

Make it possible to specify a directory path#354
slater-brian-john wants to merge 3 commits into
prometheus:masterfrom
slater-brian-john:master

Conversation

@slater-brian-john

Copy link
Copy Markdown

I noticed whilst trying to use MultiprocessCollector that I could not set a the path variable.

@brian-brazil

Copy link
Copy Markdown
Contributor

I'm not seeing how this changes how the code works.

Signed-off-by: Brian Slater <brian.slater@spothero.com>
@slater-brian-john

Copy link
Copy Markdown
Author

I'm not seeing how this changes how the code works.

Sorry about that. I did not change anything, this should do what I would like now :)

Signed-off-by: Brian Slater <brian.slater@spothero.com>
Signed-off-by: Brian Slater <brian.slater@spothero.com>
@brian-brazil

Copy link
Copy Markdown
Contributor

That's still doing the same thing.

@slater-brian-john

Copy link
Copy Markdown
Author

Previously, if you passed a path into the application you would get a ValueError, that is, I could not use the path argument.

@brian-brazil

Copy link
Copy Markdown
Contributor

The logic is still the same, so if you got an exception before you'd get one now.

@slater-brian-john

Copy link
Copy Markdown
Author

No idea what I was thinking, sorry to waste your time :)

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.

2 participants