Is NodeJS pull mode working? #2477
Unanswered
brunobastosg
asked this question in
Q&A
Replies: 1 comment
-
You're right the documention is wrong, we removed the scraping ability directly from Pyroscope since this was a duplication of effort with Grafana Agent. We wanted to integrate the agent back into Pyroscope but this hasn't been a priority. So if you want pull mode you'll need to install Grafana Agent in flow mode with profiling scrape_config. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, all!
According to the NodeJS Language SDK documentation, to use pull mode, I need to add scrape configuration to the Pyroscope config file.
However, in the configuration reference, there is no mention of a configuration parameter called
scrape-configs
.I even checked the source code, but couldn't find anything.
Even so, I started Pyroscope with a custom config file with the
scrape-configs
block as instructed. There was no error, but no scraping was being done.I also checked the express-pull example in the repository, but it uses the Grafana Agent instead of a
scrape-configs
block in the configuration file.So, is the documentation wrong? Or is this an upcoming feature? Or should I use the Grafana Agent?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions