Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gabe monitoring plugin #199

Merged
merged 6 commits into from Aug 21, 2014
Merged

Gabe monitoring plugin #199

merged 6 commits into from Aug 21, 2014

Conversation

byxorna
Copy link
Contributor

@byxorna byxorna commented Aug 18, 2014

Create a monitoring namespace with a GenericFrame plugin that can frame in a given url, parameterized by hostname. This will allow arbitrary monitoring systems to be integrated into collins, for great justice. I was going to ideally have the url be parameterized like the callbacks are, with <tag> or <arbitrary_attribute>, but couldnt wrap my head around the craziness that is the Decorator being used in the callback module.

@dallasmarlow @Primer42 @maddalab RFR

screen shot 2014-08-17 at 10 28 13 pm

}

protected def formatUrl(asset: AssetView) =
GenericFrameConfig.urlTemplate.format(asset.getHostnameMetaValue.get)
Copy link
Contributor

Choose a reason for hiding this comment

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

asset.getHostnameMetaValue.map(GFC.urlTemplate.formate) and similarly up the call chain and everything will fall into place not requiring the Some/None explicitness in getContent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I converted those methods to options, but the else None is still required in getContent, because we need to test if the asset is monitorable still. Update incoming

@yl3w
Copy link
Contributor

yl3w commented Aug 21, 2014

Outside of the questions where I did not understand some of the choices this is lgtm. Also feel free to merge and we can revisit the questions in a second iteration

byxorna added a commit that referenced this pull request Aug 21, 2014
@byxorna byxorna merged commit 0753c9a into master Aug 21, 2014
@dallasmarlow
Copy link
Contributor

@byxorna nice work =)

@byxorna
Copy link
Contributor Author

byxorna commented Aug 21, 2014

@dallasmarlow tyty

@william-richard william-richard deleted the gabe-monitoring-plugin branch September 9, 2014 19:55
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.

None yet

3 participants