feat(datadog): added key

This commit is contained in:
Stan Girard 2024-01-27 13:33:27 -08:00
parent 59402dd8ee
commit 1beb13b061
2 changed files with 64 additions and 11 deletions

View File

@ -64,18 +64,72 @@
}
},
{
"name": "datadog-agent",
"image": "datadog/agent:latest",
"cpu": 10,
"memory": 256,
"essential": true,
"portMappings": [
"containerDefinitions": [
{
"hostPort": 8126,
"protocol": "tcp",
"containerPort": 8126
"name": "datadog-agent",
"image": "public.ecr.aws/datadog/agent:latest",
"cpu": 100,
"memory": 512,
"essential": true,
"portMappings": [
{
"hostPort": 8126,
"protocol": "tcp",
"containerPort": 8126
}
],
"mountPoints": [
{
"containerPath": "/var/run/docker.sock",
"sourceVolume": "docker_sock",
"readOnly": null
},
{
"containerPath": "/host/sys/fs/cgroup",
"sourceVolume": "cgroup",
"readOnly": null
},
{
"containerPath": "/host/proc",
"sourceVolume": "proc",
"readOnly": null
}
],
"environment": [
{
"name": "DD_SITE",
"value": "datadoghq.com"
}
],
"environmentFiles": [
{
"value": "arn:aws:s3:::quivr-env-variables/preview.env",
"type": "s3"
}
]
}
]
],
"volumes": [
{
"host": {
"sourcePath": "/var/run/docker.sock"
},
"name": "docker_sock"
},
{
"host": {
"sourcePath": "/proc/"
},
"name": "proc"
},
{
"host": {
"sourcePath": "/sys/fs/cgroup/"
},
"name": "cgroup"
}
],
"family": "datadog-agent-task"
}
],
"family": "quivr-preview",

View File

@ -289,7 +289,6 @@ class CompositeBrainQA(
)
print("querying brain", function_name)
# TODO: extract chat_id from generate_answer function of XBrainQA
function_response = function_to_call(
chat_id=chat_id,
question=question,