From 30f93c3b20ca53eb695e83d1ce8629fb86b68ef2 Mon Sep 17 00:00:00 2001 From: Jeremy Lewi Date: Wed, 18 Dec 2024 21:07:25 -0800 Subject: [PATCH] Update honeycomb docs and proto dependencies (#356) --- docs/content/en/docs/how-tos/honeycomb.md | 18 ++++-------------- protos/buf.lock | 11 ++++------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/docs/content/en/docs/how-tos/honeycomb.md b/docs/content/en/docs/how-tos/honeycomb.md index 8a3ad1e..bb0de10 100644 --- a/docs/content/en/docs/how-tos/honeycomb.md +++ b/docs/content/en/docs/how-tos/honeycomb.md @@ -22,7 +22,7 @@ Using Foyle and RunMe you can ## How to integrate Honeycomb with Runne -This section explains how to integrate executing Honeycomb queries from RunMe. +This section explains how to integrate executing Honeycomb queries from Runme. Honeycomb supports embedding queries directly in the [URL](https://docs.honeycomb.io/investigate/collaborate/share-query/). You can use this feature to define queries @@ -75,20 +75,10 @@ hccli querytourl --query-file=/tmp/query3.json --base-url=https://ui.honeycomb.i To train Foyle to be your Honeycomb you follow these steps -1. Make sure you turned on learning by following the [guide](/learning/) 1. Create a markdown cell expressing the high level intent you want to accomplish -1. Ask Foyle to generate a completion - - * The first time you do this Foyle will probably provide a widely inaccurate answer because it has no prior - knowledge of your infrastructure - * Edit one of the generated code cells to contain the Honeycomb query and `hccli` command - * Execute the cell to generate the URL -1. Each time you ask for a completion and edit and execute the cell you are providing feedback to Foyle - * Foyle uses the feedback to learn and improve the completions it generates - -**Important** When providing feedback to Foyle its important to do so by editing a code cell that was generated -by Foyle. If you create a new code cell Foyle won't be able to learn from it. Only cells that were generated by Foyle -are linked to the original query. +1. Create a code cell which uses `hccli` to generate the query link +1. Execute the code cell +1. Foyle automatically learns how to predict every successfully executed code cell If you need help boostrapping some initial Honeycomb JSON queries you can use [Honeycomb's Share](https://docs.honeycomb.io/investigate/collaborate/share-query/) feature to generate the JSON from a query constructed in the UI. diff --git a/protos/buf.lock b/protos/buf.lock index 143fda7..9f8a56f 100644 --- a/protos/buf.lock +++ b/protos/buf.lock @@ -1,12 +1,9 @@ # Generated by buf. DO NOT EDIT. version: v2 deps: - - name: buf.build/bufbuild/protovalidate - commit: 3014d81c3a48461dbcc5b57536699f9e - digest: b5:04609c7e621c0aaff9164035e5c21d0d47b2af37ed58b311e15c37e9f46610255d71725a78fcca4103f2e03e2b35814667bffa146f8191693a1d502e8a0038b5 - name: buf.build/googleapis/googleapis - commit: e7f8d366f5264595bcc4cd4139af9973 - digest: b5:0cd69a689ee320ed815663d57d1bc3a1d6823224a7a717d46fee3a68197c25a6f5f932c0b0e49f8370c70c247a6635969a6a54af5345cafd51e0667298768aca + commit: acd896313c55464b993332136ded1b6e + digest: b5:025d83e25193feb8dac5e5576113c8737006218b3b09fbc0d0ff652614da5424b336edb15bea139eb90d14eba656774a979d1fbdae81cbab2013932b84b98f53 - name: buf.build/stateful/runme - commit: 45813f39881a42538128c8d9757878a4 - digest: b5:669c5838be7211c2fb8a663716813eb19682db4fe1dcec3e076c3aa8579d511aceb9f0ba5016294f205d7ec51bbe8e5bbc45c52bea8a1e01b6fdbc3871c43b5a + commit: 11c142f88aee4d7eaba2a77b8211f5e3 + digest: b5:f2bd1c9d1288480592c4797d033b153ffaabd9b585017df64a6f256b813f0e3487dca6c9c9f4f130148dc57dc831d88e73f46828c79f37061b750988c547bc8d