-
Notifications
You must be signed in to change notification settings - Fork 99
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
App Analytics dashboards #131
Comments
@anirudha |
yes, the observabilty plugin supports RBAC and multi -tenancy using the security plugin |
@anirudha additionally will the plugin support customizable index patterns, etc.. ? |
@ryn9 Hi Ryan, I talked to Ani about your question. We are planning on supporting regex based index matching in PPL soon, I think he said next release. As to your second question, I'm a little confused how multi-tenancy will affect multiple index matching? I think the security plugin should handle any access restrictions for indices. Please feel free to elaborate. |
I was trying to say that making specific index patterns required for plugin use can have impact on what is, probably, the most common way to handle multi-tenancy + RBAC - role based access to specific indices. So - I am hoping that static index names are not being considered like they were with the initial trace analytics plugin. To note - plugins haven't always been thought with multi-tenancy + RBAC in mind - so I am hoping to find out more details about how the observability plugin is being designed with this in mind. |
Hi @ryn9 ,
could you explain this with an example. From what i know access to these are only based on your roles and not tenancy. |
Sorry to confuse - 'tenancy' was probably the wrong word here. The trace analytics plug-in required use of otel-v1-apm-span-* and otel-v1-apm-service-map*, which will not work in all environments. For example - we support different groups, whom (via role access) should only have access to certain data. IE.... we wouldn't want let userA and userB both have access to these index patterns, as we don't want to allow them access to each other's data. |
Hi Same problem here : https://discuss.opendistrocommunity.dev/t/trace-analysis-and-multi-tenant/4602/2 I think that supporting index patterns for wildcard indices is the solution. |
Does that mean the plugins would also be moving away from requiring specific index names? |
@anirudha @eugenesk24 - wondering if you folks have confirmed index pattern support for PPL for 1.3 yet. |
Sorry for the late reply @ryn9 ! We have added multiple index use through comma-separate indices and wildcard matching. |
@eugenesk24 .. awesome. I am excited to see it :) |
Merged to main for 1.3 release |
…ubmodules/3rdparty/libbpf-140b902 build(deps): bump 3rdparty/libbpf from `5b9d079` to `140b902`
Overview
Application Analytics allows OpenSearch Dashboards users to select logs, traces, and metrics to be part of an application that can be monitored for overall health and visualized on one page. It also allows users to quickly pivot between traces, metrics, and logs to dig into the source of any issues that arise.
Problem
Currently, users have no way of identifying which trace and log data belongs to which application because all trace data ends up in the same index and log data goes into different independent indices. This application is made up of user-selected logs, metrics, and traces. The current solution forces users to sift through large volumes of data to get to what they really need. Also this data, distributed across Trace Analytics, Event Analytics, Dashboards, does not provide a comprehensive view of an application’s health at a glance.
Requirements
Home Page
Create Page
Application Information
Composition
Availability
Application Details
Overview Tab
Services Tab
Traces & Spans Tab
Log Events
PanelsMetricsConfiguration
UX/UI Design
Figma Link
Home Page
Overview Tab
Services Tab
Configuration Tab
Development Tasks
Home Page
Create Page
Application Information
Composition
Application Details
Overview Tab (Dashboard from Trace Analytics)
Services Tab (Services from Trace Analytics)
Traces & Spans Tab (Traces and Span Details Table from Trace Analytics)
Log Events (Log Explorer from Event Analytics)
PanelsMetrics (Custom Panel View from Operational Panels)Configuration
Backend
Known Bugs
Solution
Relationship to Other Modules
Dashboard, Trace, Span Detail, Service from Trace Analytics, Log Explorer from Event Analytics, and Panels from Operational Panels will be re-used in Application Analytics. We will need to refactor the components to become more modular. We also need to make sure only the selected services are filtered through when displaying information.
Data Model
Application
( - availabilityLevels: User-defined thresholds that signify custom levels of availability of application
Model
Example
Options for Structure of Availability Levels
Option 1 - List of objects with all of the fields
Pros: Simple
Option 2 - List of objects with key/value pairs. (key: levelPriority) (value: label, color condition in object)
Pros: Easier to sort,
API Design
APP_ANALYTICS_API_PREFIX='/api/observability/application'
Autocomplete Logic
Possible PPL commands: source, dedup, eval, fields, head, rare, rename, sort, stats, top, where
for Base Query on Create Page
for Availability Level Condition on Create Page(Conditions can not use PPL query)Allowed commands: where, eval, renameCondition must be evaluate to booleanfor Filter on Log Events Tab
for Filter on Traces & Spans Tab (pseudo)(Using filter instead of PPL query)The text was updated successfully, but these errors were encountered: