Skip to content

Commit

Permalink
remove the language from the tags
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyubabbar committed Nov 3, 2023
1 parent 5afec7f commit 64099f1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/util/customTransformer-v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ async function userTransformHandlerV1(
const tags = {
transformerVersionId: userTransformation.versionId,
identifier: 'v1',
language: 'javascript',
...events.length && events[0].metadata ? getMetadata(events[0].metadata) : {},
errored: transformationError ? true : false
}
Expand Down
1 change: 0 additions & 1 deletion src/util/openfaas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ const executeFaasFunction = async (
const tags = {
transformerVersionId: versionId,
identifier: "openfaas",
language: "python",
testMode: testMode,
errored: errorRaised ? true : false,
statusCode: errorRaised ? errorRaised.statusCode : HTTP_STATUS_CODES.OK, // default statuscode is 200OK
Expand Down
2 changes: 0 additions & 2 deletions src/util/prometheus.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,6 @@ class Prometheus {
type: 'counter',
labelNames: [
'transformerVersionId',
'language',
'identifier',
'publish',
'testMode',
Expand All @@ -963,7 +962,6 @@ class Prometheus {
type: 'histogram',
labelNames: [
'transformerVersionId',
'language',
'identifier',
'publish',
'testMode',
Expand Down

0 comments on commit 64099f1

Please sign in to comment.