-
Notifications
You must be signed in to change notification settings - Fork 120
Apigee Emulator - Trace/Debug export #847
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
Comments
@gosunilgo Thanks for the feature request The feature is currently under development and we have a minimal feature set Currently this feature can be accessed by adding following configuration option to user settings Once this flag is enabled
|
@shirishtrivikr I'm loving this feature! |
The squiggly underline for that setting is indicating a warning not an error. Are you getting any actual error while exercising this feature? Note to @shirishtrivikr to respond for any group the user needs to be part of to exercise the trace feature.
|
@sripasg yes its a warning, I am able to start tracing, Traces view automatically loaded when trace data is available but it automatically stop receiving request after some time, I have to start it again n again. Is there any setting or config available to set how long it should receive calls |
@addelabid90 The trace is started for 10 minutes every time. After 10
minutes the emulator will automatically stop the tracing.
Currently there is no parameter which can control this behavior.
Thanks
Shirish
…On Thu, Mar 28, 2024 at 3:17 PM adeelabid90 ***@***.***> wrote:
@sripasg <https://github.com/sripasg> yes its a warning, I am able to
start tracing, Traces view automatically loaded when trace data is
available but it automatically stop receiving request after some time, I
have start to start it again n again. Is there any setting or config
available to set how long it should receive calls
—
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APALA6QTDZ7HXPWPJK7B2ETY2PRJ5AVCNFSM6AAAAAA4N4WDWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG44TCMZWGY>
.
You are receiving this because you were mentioned.Message ID:
<GoogleCloudPlatform/cloud-code-vscode/issues/847/2024791366
***@***.***>
--
Shirish Kuncolienkar
***@***.***
Apigee
|
I use the apigee emulator to run some unit tests on proxy code in a pipeline. Until now I could only verify the response body/headers. Since this is available I could also verify internal variables. Thanks, |
If someone is interested in the api calls the emulator is supporting (for taking traces): I looked around in the sourcecode of the plugin and made a list of them, which you can find here: #524 (comment) |
The trace feature is inconsistent for me. Sometimes it works fine after I reach the endpoint, but other times it doesn't, and I haven't been able to figure out why. Does anyone have any ideas? Sometimes nothing pops up, and sometimes I get, like, five at once. I tried I tried stopping the emulator container and reseting it and the following errors kept coming infinitely
|
Use case
What are you trying to do that our extension doesn't let you?
Trace access doesn't seem to be enabled in Apigee Emulator. We would like same feature/ability to trace headers like Apigee-Debug - https://cloud.google.com/apigee/docs/api-platform/debug/trace
Example - view traffic during each policy step
Like OPDK or apigee-hybridX, hosted version clearly allows ease-of-use by quickly viewing trace, via console. We are not looking for UI-replacement, but the actual tracefile contents. We can upload tracefile to hybrid for analysis.
ideas?
Feature
Option1 - Give user ability to download tracefile/debugfile from apigee-emulator. Like OPDK, we would like to download the tracefile during/after the test executions
Option2 - Can the emulator emit metrics for scraping purposes ?
The text was updated successfully, but these errors were encountered: