Provide sampling interval and offset in the plugn_sets output#1923
Provide sampling interval and offset in the plugn_sets output#1923nichamon wants to merge 1 commit intoovis-hpc:mainfrom
Conversation
|
Can we rename this command sampler_sets? It doesn't apply to all plugins only sampler plugins so the name is misleading. Are there test scripts that use this command? If so, we could still support it, but make it 'deprecated' |
|
Since this is new, |
|
@baallan, the command is not new, @nichamon is just adding the sample rate
to the output. I'm not saying that what you suggest might not be a good
idea, but let's do it as a separate task when we have time.
…On Thu, Aug 21, 2025 at 8:52 AM Benjamin Allan ***@***.***> wrote:
*baallan* left a comment (ovis-hpc/ldms#1923)
<#1923 (comment)>
Since this is new,
a) why not just call it 'list_sets' since we don't care how sets get
produced
b) why not make it provide the same output (and output options, i.e. json)
as ldms_ls, instead of reinventing the wheel.
c) might be a good opportunity to merge some of the ldms_ls formatting
code into the ldms(d) library as utility functions
—
Reply to this email directly, view it on GitHub
<#1923 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVTPXCDNV4DCEXZLHRVJ6T3OXMJHAVCNFSM6AAAAACD5O7FXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJQHEZTKOJTGY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
--
Thomas Tucker, President, Open Grid Computing, Inc.
|
|
Two additional comments:
|
|
@baallan, I'm not sure I'm getting your point because ldms_ls doesn't tell you which plugin/config is responsible for producing or the sample interval. |
|
So do we track which plugins subscribe or publish also? I suppose I can see the value of the original plugn_sets, and the value of dumping all the configs of a plugin instance (which is another command, right?), but I don't see the value added by overloading plugn_sets with just the interval data. Just use ldms_ls -v, which does already provide that. |
There are no query commands that show the sampling interval of a set, so the patch makes
plugn_setsto provide this information.