apache / apache/openwhisk

know if the Openwhisk action is executed on a prewarm container by receiving the log from API

Open
#5,007 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

I install _openwhisk_ via _kubernetes_ cluster. I invoke my actions through the API and also receive their logs via API. But in the log, it is only known whether the action is _cold_ or _warm_, through initTime annotation. And it is not clear whether the cold action is executed on a _cold container_ or _preWarmed container_.
I tried to access this information through the _user-events service_ and _metrics endpoint_ via kubectl port forwarding and localhost:9095/metrics. But at this endpoint, only the cold start number is specified.
How do I know if the action is executed on a prewarm container?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.