Replies: 4 comments 5 replies
-
The basic set-based decomp from the 2023 ldmscon tutorial is in the first box below.
|
Beta Was this translation helpful? Give feedback.
-
I am concerned that this might be the wrong way to go about this. The "static" decomposition engine is about converting ldms metric sets to rows. It sounds like instead of converting an ldms metric set, this whole topic is about converting json into rows. Maybe a different configuration altogether should be made for that use case rather than overloading the "static" configuration for very different use cases. |
Beta Was this translation helpful? Give feedback.
-
@baallan, this replicates an existing architecture that maps storage policy to schema and metric sets to rows. All of this would then be shoe-horned into a single plugin that converts JSON directly to rows and calls another plugin's commit() interface. The benefits of converting JSON to Metric Sets and then using the existing architecture are that:
At this point I struggle with the merits of why converting JSON "directly" to rows is preferred. |
Beta Was this translation helpful? Give feedback.
-
@tom95858 I've been working through a proposal on (appdata,digest,output) using and example from empire and your assumption that the result will fit in an ldms set. I've run into a severe constraint due to the set conversion assumption: ldms sets do not support unspecified length strings. The driving need is to be able to roll up a named json subtree into a single string field in the database (something that both csv and sosdb would cope with, but char_array does not). imo a better solution would be to separate set decomp processing from stream decomp processing, but you seem to be hard over on using a set intermediate. So what do you propose as the method of routing dynamically bounded json blobs through a set? |
Beta Was this translation helpful? Give feedback.
-
An extension of the store decomposition syntax to support converting stream json messages to DB (maximally similar to set decomp specification) will be very helpful but does need some extensions to handle json-related issues.
We need this to eliminate the need for many custom stream stores we have today.
Beta Was this translation helpful? Give feedback.
All reactions