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

Promtail: Add new target for receiving GCP PubSub Push messages #6777

Merged
merged 29 commits into from
Aug 2, 2022
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7c1d9dc
WIP
thepalbi Jul 21, 2022
f541e8f
wip test running
thepalbi Jul 25, 2022
3cfaf34
one test passing
thepalbi Jul 25, 2022
dd4977e
some fixes and testing
thepalbi Jul 26, 2022
89eddfc
refactor out some shared http target components
thepalbi Jul 26, 2022
3b5207e
fix linting
thepalbi Jul 26, 2022
07f47eb
correcting heroku copied code
thepalbi Jul 26, 2022
d6329ce
add x-scope-orgid header test
thepalbi Jul 26, 2022
668402e
Using just one GCPLog target with multiple subs types
thepalbi Jul 27, 2022
3863f04
Comments and simplfying switch
thepalbi Jul 27, 2022
1b7d7fe
Added target creator tests
thepalbi Jul 27, 2022
31e6a5b
added NewGCPLog target tests
thepalbi Jul 27, 2022
6f9548d
Address github comments
thepalbi Jul 28, 2022
ef23e23
make actual target impls package private
thepalbi Jul 28, 2022
031844b
fix lint
thepalbi Jul 28, 2022
b79387d
Update clients/pkg/promtail/targets/gcplog/target.go
thepalbi Jul 28, 2022
258a3a8
fix test
thepalbi Jul 28, 2022
5b4b5a8
added config section
thepalbi Jul 28, 2022
69a2bec
added scraping docs
thepalbi Jul 28, 2022
4938dd8
Make everything as backwards compatible as possible
thepalbi Jul 28, 2022
1020b26
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
8232428
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
91dc153
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
6052172
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
d97ec67
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
2803829
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 1, 2022
eb77eb2
Update docs/sources/clients/promtail/scraping.md
thepalbi Aug 1, 2022
1dfa0dd
Update docs/sources/clients/promtail/scraping.md
thepalbi Aug 1, 2022
979cdea
Update docs/sources/clients/promtail/configuration.md
thepalbi Aug 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/sources/clients/promtail/configuration.md
Co-authored-by: Karen Miller <[email protected]>
  • Loading branch information
thepalbi and KMiller-Grafana committed Aug 2, 2022
commit 6052172142fc8a2831088125069ff4f81c5b5e88
2 changes: 1 addition & 1 deletion docs/sources/clients/promtail/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ labels:

When Promtail receives GCP logs, various internal labels are made available for [relabeling](#relabeling). This depend on the subscription type chosen.

**Pull**
**Internal labels available for pull**

- `__gcp_logname`
- `__gcp_resource_type`
Expand Down