-
Notifications
You must be signed in to change notification settings - Fork 33
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
Consider whether to remove analytics data from API Umbrella when deleting ProxyBackend in Apinf #2032
Comments
This should be verified in staging and nightly, not on apika server. |
@marla-singer Would you be interested in this task? |
From @marla-singer on February 6, 2017 8:18 @bajiat Yes, I'd . Estimated |
@bajiat Researched this bug.
ScreensBefore deletingThe api-umbrella had information about my API After deleting |
@brylie As I understand the Analytics section has data from ElasticSearch. How do we delete information from ElastciSearch? |
This is probably an issue we should discuss with @GUI in the API Umbrella platform. In a nutshell, the Elasticsearch analytics are not 'linked' to a specific user or API Backend. Rather, they are grouped by prefix (as you note in your message), since API Umbrella allows flexible rules for API Backend prefixing. |
Here is a related upstream issue, where @GUI mentions the limitations of Elastic analytics: It seems like @GUI would be open to a pull request that would add Backend ID to the analytics storage:
|
Suggestion during standup: Instead of deleting APIs, we can only "archive" them. This way we ensure they remain "in the system" and are unique. Historical data will still be relevant then. |
I like the idea of leaving the historical analytics data in-tact. It seems simpler in the short-term, and may be useful for the System Administrator to have access to all analytics data, even for 'deleted' backends. |
This task is under research. See issue #2115 |
I don't mind about archiving. However, it needs to be thought detail because now we don't have any features for that. For archive data, we must do it not only in ElasticSearch but on API-umbrella side and our side: storage all data about used frontend_prefix. And if we decide to implement it then we need to use every profit from that. |
When deleting a ProxyBackend from Apinf, the backend is also deleted from API Umbrella. However, API Umbrella does not delete analytics data related to the backend, perhaps by design.
Discussion
Consider the pros and cons of deleting related analytics data from API Umbrella. E.g. might the data be useful to a system administrator? Determine why API Umbrella does not delete this data. Is it by design, or perhaps an oversight?
Decide whether we align with the design of API Umbrella. If not,
Original post
From @Nazarah on January 30, 2017 13:37
Reproduction Steps:
Result:
Dashboard shows the number of requests made before the API was deleted and readded.
Expected Result
API details should also be deleted from proxy on deleting an API.
So that when the same API is added again, Dashboard should show fresh history (of 0 or requests made after added, etc.) than the previous history of requests.
Environment
Chrome, Windows 8
Copied from original issue: Digipalvelutehdas/APIKA#324
The text was updated successfully, but these errors were encountered: