Skip to content

[question] can I call initialize several times? #347

@cmdelatorre

Description

@cmdelatorre

Consider the following example:

from datadog import initialize, statsd
initialize(statsd_port=8001)
initialize(statsd_port=8002)
initialize(statsd_port=8003)

statsd.increment('home.page.hits')  # Is port 8003 being used here?

If I call initialize with different parameters, will the last call take effect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions