-
Notifications
You must be signed in to change notification settings - Fork 170
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
Track gateway usage #182
Comments
We should really aim to get this included in the initial release. |
The initial release was already shipped on 2016-11-28. |
I started the implementation of the full User-Agent which will look like following:
It follows the RFC 7231 section 5.5.3 and best practices by Mozilla. It includes information about:
And will be sent in the For comptatibility purposes there will also be the |
Would be good to check with URI, that it's easily parseable in Grafite, as
that's what we used to get some stats on usage by plugin/gateway....
…On Jan 11, 2017 13:08, "Michal Cichra" ***@***.***> wrote:
I started the implementation of the full User-Agent which will look like
following: APIcast/2.0 (OSX; x64; env:production) APIcast/2.0
It follows the RFC 7231 section 5.5.3
<https://tools.ietf.org/html/rfc7231#section-5.5.3> and best practices by
Mozilla
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent#Syntax>
.
It includes information about:
- APIcast core version
- APIcast module version (or any other loaded module, like XC)
- platform
- architecture
- deployment environment
And will be sent in the User-Agent header.
For comptatibility purposes there will also be the X-3scale-User-Agent
set to APIcast/2.0+env tracking the APIcast module version, not the core
so XC and other modules can set their own.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#182 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFReLGm-CXbYk0uRz1h1zwwsBe-F8nL9ks5rRMZHgaJpZM4LJKxs>
.
|
@3scale/operations could you verify |
yes, should be easy to track |
@Pili can you please comment based on experience of the current trackers |
The only thing I'm wondering now is whether it makes sense to use the User-Agent header in the same way for the other APIcast versions/plugins and use the X-3scale-User-Agent header for additional info also |
Is it still useful to have a timestamp of the configuration generation in the headers ( |
It seems that with latest releases we've lost the ability of using the user agent header to track source of calls to backend and we'd like to bring it back.
In addition, it'd be useful to also being able to track:
The text was updated successfully, but these errors were encountered: