-
Notifications
You must be signed in to change notification settings - Fork 180
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
Any plans for tickster as a library? #239
Comments
That definitely sounds interesting! We've been intentionally placing things deemed worthy of import by other projects into |
@jacksontj there is some interest in giving this a look by a few other stakeholders from the Trickster community. @dmitsh and @alfred-landrum from Sysdig demonstrated to me a prom-specific working POC of an importable Trickster package; it looks like a really good starting point for this feature. One of the things I am concerned about getting right is ensuring that we make make the package solution simple, easy-to-use and future proof. As we are planning to expose Trickster's HTTP Reverse Proxy/Cache abilities as an origin type itself (outside of time series accelerators) in 1.0, a single generic library may or may not be the best idea. So I think the options are, 1) come up with a single package that is designed well enough to flexibly support all origin types (including non-timeseries caching), or 2) expose origin-type-specific libraries (e.g., I see benefits to both approaches. Everyone who has inquired about this is developing a solution for Prometheus, so it's possible that Option 2 is more desirable. I invite everyone with an opinion to chime in on this issue so that we can make the right choices. Based on the consensus here, we can come up with the final design and get it shipped. Thanks to everyone for their interest and feedback! |
My initial thinking is that approach #2 would be beneficial -- as each system has their own client types etc -- so it would be nice if they mirrored the upstreams. Then trickster the binary could use those same libraries itself (meaning the http -> library translation is done presumably in another library). |
@jacksontj @dmitsh @alfred-landrum we have finally merged |
@jacksontj if you'd like to hit me up via email, we'd love to put some time on the calendar to talk about this issue and get it ready for release. |
All, as of today, We will still provide more streamlined packages in v1.2 that are specifically meant to facilitate using Trickster as a router handler. I will keep this issue open until that release is cut. It would be great if anyone who plans to use any of this functionality could get in touch to help us drive our roadmap. Thanks! |
closing as implemented |
I see in the new 1.x branch that the code is no longer in the root of the repo (yay!), but I do see that most of the code is under
internal
which means that trickster wouldn't be usable as a library anywhere-- are there any plans to allow/enable this type of usage?The text was updated successfully, but these errors were encountered: