Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-1242 Bump influxdb version #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

DP-1242 Bump influxdb version #26

wants to merge 2 commits into from

Conversation

duartecoelhomovai
Copy link

@duartecoelhomovai duartecoelhomovai commented Sep 14, 2023

  • Bump version of Influxdb from v1 to v2

Copy link
Contributor

@AlexFernandes-MOVAI AlexFernandes-MOVAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this state telegraf fails to write to influxdb :
Failed to write metric (will be dropped: 401 Unauthorized)

telegraf needs new configuration:

[[outputs.influxdb]]
  database = "my-database"
  username = "admin"
  password = "1.8my$s3cret"

And influxdb needs:

The InfluxDB image contains some extra functionality to automatically bootstrap the system. This functionality is enabled by setting the DOCKER_INFLUXDB_INIT_MODE environment variable to the value setup when running the container. Additional environment variables are used to configure the setup logic:

DOCKER_INFLUXDB_INIT_USERNAME: The username to set for the system's initial super-user (Required).
DOCKER_INFLUXDB_INIT_PASSWORD: The password to set for the system's inital super-user (Required).
DOCKER_INFLUXDB_INIT_ORG: The name to set for the system's initial organization (Required).
DOCKER_INFLUXDB_INIT_BUCKET: The name to set for the system's initial bucket (Required).
DOCKER_INFLUXDB_INIT_RETENTION: The duration the system's initial bucket should retain data. If not set, the initial bucket will retain data forever.
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: The authentication token to associate with the system's initial super-user. If not set, a token will be auto-generated by the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants