# (C) Datadog, Inc. 2020-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
from datadog_checks.dev import get_docker_hostname, get_here

HERE = get_here()
HOST = get_docker_hostname()

MEMBER_PORT = 1099
MEMBER_REST_PORT = 5702
MC_PORT = 9999
MC_HEALTH_CHECK_ENDPOINT = 'http://{}:8081/health'.format(HOST)

INSTANCE_MEMBERS = [
    {'host': HOST, 'port': MEMBER_PORT, 'is_jmx': True},
    {'host': HOST, 'port': 1098, 'is_jmx': True},
    {'host': HOST, 'port': 1100, 'is_jmx': True},
]
INSTANCE_MC_JMX = {'host': HOST, 'port': MC_PORT, 'is_jmx': True}
INSTANCE_MC_PYTHON = {'mc_health_check_endpoint': MC_HEALTH_CHECK_ENDPOINT}
