feat: Add Arize & Phoenix Tracer Integration (#4046)

Added Arize Phoenix Tracer

Co-authored-by: Ilango <ilango.rajagopal@flowiseai.com>
This commit is contained in:
Ali Saleh
2025-02-24 19:41:30 +05:00
committed by GitHub
parent 542936c33f
commit 0e10952b45
13 changed files with 36241 additions and 35628 deletions
@@ -0,0 +1,39 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class ArizeApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Arize API'
this.name = 'arizeApi'
this.version = 1.0
this.description =
'Refer to <a target="_blank" href="https://docs.arize.com/arize">official guide</a> on how to get API keys on Arize.'
this.inputs = [
{
label: 'API Key',
name: 'arizeApiKey',
type: 'password',
placeholder: '<ARIZE_API_KEY>'
},
{
label: 'Space ID',
name: 'arizeSpaceId',
type: 'string',
placeholder: '<ARIZE_SPACE_ID>'
},
{
label: 'Endpoint',
name: 'arizeEndpoint',
type: 'string',
default: 'https://otlp.arize.com'
}
]
}
}
module.exports = { credClass: ArizeApi }
@@ -0,0 +1,33 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class PhoenixApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Phoenix API'
this.name = 'phoenixApi'
this.version = 1.0
this.description =
'Refer to <a target="_blank" href="https://docs.arize.com/phoenix">official guide</a> on how to get API keys on Phoenix.'
this.inputs = [
{
label: 'API Key',
name: 'phoenixApiKey',
type: 'password',
placeholder: '<PHOENIX_API_KEY>'
},
{
label: 'Endpoint',
name: 'phoenixEndpoint',
type: 'string',
default: 'https://app.phoenix.arize.com'
}
]
}
}
module.exports = { credClass: PhoenixApi }