-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add the ability to view the influxdb_v2 output for telegraf #14924
Comments
@alexpaxton which project board should this issue be on? |
@desa I think monitoring is the correct spot |
|
connect #15521 (would be nice to synchronize the naming) |
i can't find the api endpoint for this in the swagger docs. I'll take a link if anyone has one, or we could scope this under monaco work (code folding), or we can make a fragile (but maybe still ok) solution and just remove everything above the |
I don't think that any such endpoint exists.
I think this should be a good first pass. I'd imagine that section of the config is pretty stable. Might be good to do this as a first iteration and to open up an issue that does it genericly using an API endpoint in the future. |
dug into this more. without api work, we could hardcode the output as a string, and populate it with the current org and url of the cloud server, but how does the user define the bucket that they want to connect to? |
@drdelambre I'd stick the button next to the |
i was thinking of doing the later as well (after one creates a config) but for creation, the user still needs to select a bucket before we can approximate a config (considering they may have more than one bucket in the case of a migration) |
@russorat there's not an endpoint you can get that value without creating a telegraf. |
if there's no api, let's hardcode for now. |
many people already have telegraf configured for writing data in and they just need to add a new output for influxdb_v2. We need to add a way for the user to view just the output config for telegraf instead of having to create a new config and just pulling the output section.
Maybe just a new button next to the create configuration button that just shows the output section and gives the user the option to copy or download. the name of the downloaded file should be
outputs.influxdb_v2.conf
The text was updated successfully, but these errors were encountered: