Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Use FUNCTION_NAME as service id on GCF#274

Merged
matthewloring merged 1 commit intogoogleapis:masterfrom
matthewloring:functions
Jun 8, 2017
Merged

Use FUNCTION_NAME as service id on GCF#274
matthewloring merged 1 commit intogoogleapis:masterfrom
matthewloring:functions

Conversation

@matthewloring
Copy link
Copy Markdown
Contributor

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 7, 2017
@matthewloring
Copy link
Copy Markdown
Contributor Author

Before:
screen shot 2017-06-06 at 5 56 55 pm




After:
screen shot 2017-06-06 at 6 59 14 pm

@ofrobots
Copy link
Copy Markdown
Contributor

ofrobots commented Jun 7, 2017

@swalkowski: Is there a concept of 'versions' for functions?

@ofrobots
Copy link
Copy Markdown
Contributor

ofrobots commented Jun 7, 2017

/cc @emrekultursay in case you have thoughts in service identification for Cloud Functions.

service: process.env.GAE_SERVICE || process.env.GAE_MODULE_NAME ||
process.env.FUNCTION_NAME,
version: process.env.GAE_VERSION || process.env.GAE_MODULE_VERSION ||
'unversioned',

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@swalkowski
Copy link
Copy Markdown

@ofrobots: No, functions are unversioned at the moment.

serviceContext: {
service: process.env.GAE_SERVICE || process.env.GAE_MODULE_NAME,
version: process.env.GAE_VERSION || process.env.GAE_MODULE_VERSION,
service: process.env.GAE_SERVICE || process.env.GAE_MODULE_NAME ||

This comment was marked as spam.

This comment was marked as spam.

@matthewloring matthewloring merged commit a87007a into googleapis:master Jun 8, 2017
@matthewloring matthewloring deleted the functions branch June 8, 2017 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants