Skip to content
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

How to show only table #124

Open
mPokornyETM opened this issue Nov 8, 2022 · 9 comments
Open

How to show only table #124

mPokornyETM opened this issue Nov 8, 2022 · 9 comments
Labels
feature New features

Comments

@mPokornyETM
Copy link

What feature do you want to see added?

I need to show only pure table data. No charts, graphs ...
It is possible here. I checked the code and can not find any solution for that now.

Thx

Upstream changes

No response

@mPokornyETM mPokornyETM added the enhancement Enhancement of existing functionality label Nov 8, 2022
@simonsymhoven
Copy link
Member

Hi,

sorry for the late response. No, that is not possible for now. You can have a look into the example data files, processed by the plugin. Do you have an example of your data input? Then we can have a look, if we can implement such a feature.

@simonsymhoven simonsymhoven added feature New features and removed enhancement Enhancement of existing functionality labels Dec 5, 2022
@mPokornyETM
Copy link
Author

Hi, thx for answer. In need ust simple .csv format. That means 2 dimensional array
List<List>

Ex:

Date;Node name;Reason
10.10.2022 17:11:50.571;OracleServer8_05;java.lang.Exception: The node "OracleServer8_05" will be marked as unrepairable.
10.10.2022 22:36:30.063;SLES15_02;java.lang.Exception: <strong>The command on the node SLES15_02 cause exception!
11.10.2022 05:04:09.771;OracleServer8_05;Failed checkout repository _Library_Test_Jenkins on branch master.;
11.10.2022 05:04:09.862;OracleServer8_05;java.lang.Exception: The node "OracleServer8_05" will be marked as unrepairable.
11.10.2022 05:09:42.226;OracleServer8_05;Failed checkout repository _Library_Test_Jenkins on branch master.

Looks like a log file ;-) But it will be helpful to have it. (because of sorting, paging and filtering)

But any way, I discuss it with @uhafner and I thing it will be fine, when the step is implemented in data-table-plugin as well. But nobody has time for that now.

@simonsymhoven
Copy link
Member

Hmm honestly I don't have any time right now too. I can offer to deal with it during the christmas season.

@mPokornyETM
Copy link
Author

Dont worry, when my boss will see the tables in Jenkins, then my answer will be that the company shall spend 'few' hours and we shall implemented in (here or data-tables does not matter ) ;-) . Other words, it will be nice, but not must have. About christmas seasonthat the reason why I am under pressure now. I will keep this time with my family. But of core when you want and has time, you can do that ;-) . One last thing, maybe is the csv format too simple. Maybe it shall be json format with all information, that the table self needs. I mean ID, Columns-definition and Data(rows) So it will be possible to show int / date / string / html content ... , and no extra parser or what ever will be necessary. And (very nice feature), when usersomehow' mark the column you can show the trend data and charts as well. For ex, marking column 'Node name' shall count how often the node 'OracleServer8_05' will appears. (but I see a possible way now. Maybe it can be done by next-gen-warnigns plugin, hm I will try it)

@totocaca123
Copy link
Collaborator

There is an open issue on how to display multilevel (#54 ).

Moreover in your data, there is no value (aim of this plugin is to condensate, parse and display sums, and various statistics).

I wonder if the best is to use warning ng which aims to parse and analyze error reports. Then convert the csv file format into an official error format (xml, ???). There is dozens of supported file formats. Depending on the kind of log and numbers of column, one of these format should match.

@mPokornyETM
Copy link
Author

Yeh, but anyway show simple table will be use case.

  • I have a job node-labeler which runs every day and set correct labels on our nodes. That means admin does not care about that and no body can broke our nodes. In this case I print on the end list of all nodes with assigned resources.
  • Or other example a job named try-ot-repair -nodes which runs every day and try to correct common mistakes on all our nodes. When is finished I print all the nodes info in log.

For this uses cases is useless to parse all of the line in warnings-ng. It will be better to show it in a simple table. But as I mentioned about I will create new step in the data-table-plugin when no body can do it here.

Thx for your time guys

@simonsymhoven
Copy link
Member

simonsymhoven commented Dec 10, 2022

@mPokornyETM I think it makes more sense, if we add this basic table step to the data-table-api-plugin. I can help you with this if you want.

@mPokornyETM
Copy link
Author

It will be great when you do that, because at the moment I am totally over by my daily business and lockable-resource-plugin. Maybe in begins next year (Hopefully) have more time for new development.

@mPokornyETM
Copy link
Author

But anyway, you can close this item here. I thing we have a consensus, that it has nothing to do with this plugin. Sorry to waste your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features
Projects
None yet
Development

No branches or pull requests

3 participants