mirror of
https://github.com/StanGirard/quivr.git
synced 2024-08-17 00:50:37 +03:00
feat(datadog): added key
This commit is contained in:
parent
59402dd8ee
commit
1beb13b061
@ -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",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user