chaos-mesh / datasource

Grafana data source plugin for Chaos Mesh.
Apache License 2.0
9 stars 8 forks source link

Ugrades to plugin #40

Open ruancmoral opened 2 years ago

ruancmoral commented 2 years ago

As it is today, the plugin is looks very limited.

Some cons that I found using it:

Do you guys have any plans to improve the plugin?

g1eny0ung commented 2 years ago

Sorry for the late reply. These are very helpful for us.

  • Cannot filter multiple experiments by 'name' in the annotation (can only select one or all experiments)
  • Cannot filter multiple experiments by 'kind' (only one possibility)

Indeed, if you're looking for a more flexible way to filter, you currently have to create multiple annotations or variables to solve this problem.

This flexible filtering approach requires API-level support. I will try to add this as an enhancement in the future.

When using Worflows, all finished experiments go to "archives" after running, so I can't see them in Grafana Dashboard (the plugin only select 'active' experiments)

Yes. In our minds, an archive is an experiment that has already been done, so we decided not to go ahead and show them on grafana (But it can be done).

I don't think I would make this feature a high-priority thing to do. 😃

Maybe the possibility to filter by 'labelSelector' so I can see in the service monitoring when it recieved some Chaos?

This is a great idea. It would also improve the flexibility of the API!

I will go through and document these optimizations in the chaos mesh.