diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c85e8409..4bc7805e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,7 +34,9 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: '18.12' - name: deploy if: ${{ github.event_name != 'pull_request' }} run: make deploy + env: + NODE_OPTIONS: --openssl-legacy-provider diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index f8437e21..86dc5534 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -13,12 +13,16 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: '18.12' - name: install dependencies run: yarn install + env: + NODE_OPTIONS: --openssl-legacy-provider - name: ensure docusaurus can build run: yarn build + env: + NODE_OPTIONS: --openssl-legacy-provider - name: install gems run: sudo gem install http colorize diff --git a/blog/ai-profiling-hackathon.mdx b/blog/ai-profiling-hackathon.mdx new file mode 100644 index 00000000..1c1498b2 --- /dev/null +++ b/blog/ai-profiling-hackathon.mdx @@ -0,0 +1,162 @@ +--- +title: "AI-Powered Flamegraph Interpreter in Grafana Pyroscope" +description: "Explore how our AI-powered tool is revolutionizing flamegraph interpretation" +sidebar_label: "AI-Powered Flamegraph Interpreter" +image: "https://github.com/grafana/pyroscope/assets/23323466/441f89c8-8757-4c3d-b1b9-d8a1960c4c5d" +slug: /ai-powered-flamegraph-interpreter +date: "2023-12-04" + +authors: + - name: Ryan Perry + url: https://github.com/Rperry2174 + image_url: https://avatars.githubusercontent.com/u/23323466?v=4 + - name: ChatGPT + title: Editor + url: https://chat.openai.com/ + image_url: https://chat.openai.com/favicon-32x32.png +--- + +import {OpenAI} from '../src/components/Blog/OpenAI'; +import {DistributorCpu} from '../src/components/Blog/DistributorCpu'; +import {Flamegraph} from '../src/components/Blog/Flamegraph'; + +import {Response1, BaseResponse, BeginnerResponse, PoemResponse, CustomerSuccessResponse, SpanishResponse, ITDepartmentHumorResponse, HackerNewsThreadResponse, MichaelScottExplainsResponse} from '../src/components/Blog/OpenAI'; + +![Go-Gopher-PSD-With-larger-Newspaper_01](https://github.com/grafana/pyroscope/assets/23323466/441f89c8-8757-4c3d-b1b9-d8a1960c4c5d) + +If you're of the opinion that AI isn't going to solve all the world's problems, you're probably right. And if you think it could, well, you might be onto something too. + +In the world of software engineering, particularly observability, where complexity often outpaces comprehension, **AI isn't just a fancy tool; it's becoming an inevitable necessity**. + +During the Grafana Hackathon, the Pyroscope team embraced this reality. We tackled a genuine challenge head-on with AI: making flamegraph analysis intuitive, even for those new to profiling. + +We've seen that AI excels at tasks like language interpretation. So, why not leverage it to demystify flamegraphs? This led us to our Hackathon mission: + +**Demonstrate how AI can transform the user experience in analyzing and interpreting flamegraphs.** + +We did this by giving humans and AI the same flamegraph and asking them to interpret it as shown below. We then compared the results and analyzed the differences. + +