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

Add config specs #6797

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Add config specs #6797

merged 1 commit into from
Jun 4, 2020

Conversation

hithwen
Copy link
Contributor

@hithwen hithwen commented Jun 2, 2020

No description provided.

# source: nginx
# - type: file
# path: /var/log/nginx/access.log
# source: nginx
Copy link
Contributor

Choose a reason for hiding this comment

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

missing service?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the point it is should be defined in the instance or init so it gets applied to metrics and logs. Having it here is deprecated

Copy link
Contributor

@ChristineTChen ChristineTChen Jun 2, 2020

Choose a reason for hiding this comment

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

Should we remove the service line from the template?

service - required - The name of the service that generates the log.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's still a valid config but the unified one should be used instead

# source: nginx
# - type: file
# path: /var/log/nginx/error.log
# source: nginx
Copy link
Contributor

Choose a reason for hiding this comment

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

same in this example

@hithwen hithwen merged commit 94159dc into master Jun 4, 2020
@hithwen hithwen deleted the julia/nginx-specs branch June 4, 2020 11:26
github-actions bot pushed a commit that referenced this pull request Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants