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

Custom Aggregation added: Invalid Aggregators name #685

Open
noureentaj opened this issue Dec 6, 2023 · 1 comment
Open

Custom Aggregation added: Invalid Aggregators name #685

noureentaj opened this issue Dec 6, 2023 · 1 comment

Comments

@noureentaj
Copy link

noureentaj commented Dec 6, 2023

What Happened:

I created an Aggregator plugin, and followed all instructions as provided on the documentation.
For annotations, I have used PluginName property on my Java Class for the name and description that I expect to see on UI. I couldn't find AggregatorName interface anywhere in the repository to import.

I then downloaded a build, and added the jar file to the lib folder, and also added relevant properties file on the conf directory. Made the necessary datastore changes in the kairosdb.conf file. I ran kairosdb.sh script right after. The logs are clean, and it seems that the custom aggregation is being detected properly without any failure logs (I used to get them before and now I dont!).

Issue

I can't see the custom aggregation on kairos UI. I cant even hit the query REST API with payload with my aggregation. This is the error I get on response:
query.metric[0].aggregators[0].myaggregation invalid aggregators name

Is there any additional validation or a script that has to be executed to detect or validate the plugin, other than the properties file?
Please help!
I also need explicit instructions on how I can deploy my plugin. The documentation seems to be outdated, there's no Makefile and the Dockerfile needs to be updated otherwise!

Thanks a ton in advance!

@noureentaj
Copy link
Author

@rcosnita @jsabin @xunleii @brianhks Please help guys!

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

No branches or pull requests

1 participant