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

Update the docker-driver doc about default labels #3814

Merged
merged 3 commits into from
Jun 7, 2021
Merged

Update the docker-driver doc about default labels #3814

merged 3 commits into from
Jun 7, 2021

Conversation

kavirajk
Copy link
Collaborator

@kavirajk kavirajk commented Jun 7, 2021

Add more information on container_name default label and when it will be added to log line.

What this PR does / why we need it:
Makes the docker-driver docs bit clear about container_name default label

Which issue(s) this PR fixes:
Fixes #3811 #3811

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Add more information on `container_name` default label and when it will be added to log line.
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

I actually think this doesn't solve the problem.

The problem is that loki-external-labels has a default value that adds the container name, changing removes it.

I think we should state the default value.

@rgl
Copy link
Contributor

rgl commented Jun 7, 2021

I think the documentation should also mention how can we modify each label. That is, whether we have to use loki-relabel-config or loki-pipeline-stages.

@cyriltovena cyriltovena merged commit f980feb into grafana:main Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker-driver: not adding the container_name as documented
3 participants