grafana/docs/sources
Brendan O'Handley 5580d06101
Prometheus: PromQAIL frontend, drawer, feature toggle, workflow, etc. (#73020)
* initial commit for PromQAIL

* add feature toggle and start button

* add drawer

* set up drawer and state

* fix styles and start the conditional text display

* add data info list going to ai

* add logos and style

* metric display table style, neeed to make responsive

* make feature toggle frontend only

* add logic for want prompt for list or not, add helpers, addquerysuggestion type

* make query suggestion component

* add buttons to add or refine prompt

* refactor logic to add interactions to have multiple AI or historical interactions

* refactor and enable multiple questions, all flow

* add colorful AI icon to drawer open button

* fix linting

* refactor for hooking up promQail app and only giving one suggestion

* design fixes

* fix next prompt button styling

* historical suggestions give us 5, fixed that and some design things

* hook up the api, provide defense filler if it's down, refactor lots

* use query, fix linting

* add metadata to explain for ai suggestions

* styling fixes

* give metadata for historical suggestions by parsing query on the fly

* no prompt field to query-suggestion endpoint if prompt is empty

* fix linting

* use suggest rte for historical list, fix long code style

* use suggest rte for historical list, fix long code style

* fix historical bug

* added prompt file

* updated llm logic in explainer helper

* bump @grafana/experimental from 1.7.0 to 1.7.2

* use llmservice and vectorservice

* cleanup prompts + streaming explainer

* promqail feature toggle: fix re-order

* PromQL non-llm failback recommendation logic (#75469)

* added template recommendation logic directly in helpers

* also added selected labels to recommendation

* PromQail: query gen: fix prompt formatting and fetch metric labels to be used (#75450)

* PromQail: query gen: fix prompt formatting and fetch metric labels to be used

* Code fixes as suggested

* Use newly decided collection name for promql templates

* Prometheus: Promqail tests and bug fixes (#75852)

* add tests for drawer

* refine one prompt at a time, fix css

* scroll into view on interaction change

* fix styles for light

* disable prompt input after getting sugestions for that interaction

* make buttons disappear after selecting refine prompt or show historical queries to prevent user from clicking many times

* fix border radius

* fix new eslint rule about css requiring objects and not template literals

* add scrollIntoView for test

* grafana_prometheus_promqail_explanation_feedback - add feedback rudderstack interaction for explanation

* add form link to feedback for query suggestions

* fix bugs

* for prettier

* PromQL Builder Explainer: Added promql documentation and updated prompt (#75593)

* added promql documentation and updated prompt

* refactor prompt generation into isolated function

* updated prompt to answer with a question

* removed commented code

* updated metadata logic

* updated documentation body logic

* Prometheus: PromQAIL UI fixes (#76654)

* align buttons at 16px

* only autoscroll when an interaction has been added or the suggestions have been updated

* add 12px below explain for suggested queries

* add . after suggestion number

* fix linting error

* Prometheus: PromQAIL feedback improvements (#76711)

* align buttons at 16px

* only autoscroll when an interaction has been added or the suggestions have been updated

* add 12px below explain for suggested queries

* add . after suggestion number

* add text indication for explanation feedback

* add form for suggestion feedback, add form for not helpful explanation feedback

* fix linting error

* make radio button feedback required

* required text, padding additions, thank you for your feedback

* PromQL Builder Suggestion: Added type level templates and removed explainer steps for fallback suggestion logic (#75764)

* adding more detailed templates to promql fallback suggest

* remove debug logs

* added missing explain logic

* Fix brendan's type issue

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
Co-authored-by: bohandley <brendan.ohandley@gmail.com>

* make yarn.lock equal to current in main

* fix feature toggles

* fix prettier issues

---------

Co-authored-by: Edward Qian <edward.qian@grafana.com>
Co-authored-by: Yasir Ekinci <yas.ekinci@grafana.com>
Co-authored-by: Edward Qian <edward.c.qian@gmail.com>
Co-authored-by: Gerry Boland <gerboland@users.noreply.github.com>
2023-10-19 10:45:32 -05:00
..
administration RBAC: introduce a data source admin role (#75915) 2023-10-19 14:36:41 +01:00
alerting Alerting: Add support for msteams contact point in external Alertmanagers (#76392) 2023-10-13 10:43:42 -05:00
breaking-changes Docs: Fix links to plugin-tools in changelog, breaking changes (#76726) 2023-10-18 08:08:05 -07:00
dashboards Docs: Revisit Manage Dashboard docs for new UI (#75840) 2023-10-13 18:39:35 +03:00
datasources fix: Verification typo (#73137) 2023-10-10 08:11:37 -07:00
developers Update angular-plugins.md (#76556) 2023-10-13 16:59:43 +01:00
explore Azure monitor: Support Logs visualization (#76594) 2023-10-18 18:19:35 +03:00
fundamentals Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
getting-started improved the sentence to make it clear for entering admin in both the username and password (#76141) 2023-10-10 10:01:13 -05:00
introduction Docs: Introduction topic title update (#73702) 2023-08-23 13:02:15 -05:00
old-alerting Update all use of docs/shared in Grafana to use keyword arguments (#74167) 2023-08-31 11:00:04 +01:00
panels-visualizations Docs: Templating: Replace __value.raw with __data.fields (#76408) 2023-10-17 11:59:00 +03:00
release-notes Fix developer links and newly discovered spelling errors (#75875) 2023-10-03 13:49:27 +01:00
search Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
setup-grafana Prometheus: PromQAIL frontend, drawer, feature toggle, workflow, etc. (#73020) 2023-10-19 10:45:32 -05:00
shared Fix some links in data sources documentation (#75813) 2023-10-02 14:17:56 +01:00
troubleshooting Docs: fix broken links (#71911) 2023-07-20 12:39:59 -04:00
tutorials Logs Alerting Tutorial: Fix small formatting issue on code block (#74780) 2023-09-13 09:57:42 +02:00
upgrade-guide Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
whatsnew Docs: Add Alerting export to what's new (#76775) 2023-10-18 15:38:56 -04:00
_index.md Docs: Fix nightly builds link (#73964) 2023-09-13 10:09:34 -04:00
cli.md Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00