Согласно gae_datadog репозиторий Github, способ настройки datadog в движке приложения - это клонировать репо и добавить следующее в app.yaml:
handlers:
# Should probably be at the beginning of the list
# so it's not clobbered by a catchall route
- url: /datadog
script: gae_datadog.datadog.app
env_variables:
DATADOG_API_KEY: 'YOURAPIKEY'
Однако, похоже, это не работает с их средой выполнения nodejs. Вот мой app.yaml:
# Copyright 2017, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START app_yaml]
handlers:
# Should probably be at the beginning of the list
# so it's not clobbered by a catchall route
- url: /datadog
script: gae_datadog.datadog.app
env_variables:
DATADOG_API_KEY: 'MY_KEY'
runtime: nodejs
env: flex
# [END app_yaml]
Похоже, что обработчик url-адреса datadog вообще не используется, потому что он 404. Я предполагаю, что приложение node.js имеет здесь приоритет, но я не знаю, как это изменить.
Нет, в итоге не использовал





Привет, ты когда-нибудь в этом догадывался? Я пытаюсь сделать то же самое