Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1f4a26e
Remove the code to collect docker containers.
supriyagarg May 22, 2018
bcffd26
Update the default API endpoint format.
supriyagarg May 21, 2018
1d7844f
Update the MetadataStore to use full resource name in the metadata_map_
supriyagarg May 21, 2018
c21dd66
Update MetadataUpdater to use the full resource name during UpdateMet…
supriyagarg May 21, 2018
a0eb475
Update MetadataStore::Metadata to have fields matching the v1beta3 API.
supriyagarg May 25, 2018
ee48839
Update the kubernetes code to generate the required fields for v1beta3.
supriyagarg May 25, 2018
81093e2
Fix the reporter to send single resources per publish request.
supriyagarg May 25, 2018
4a4da79
Address comments.
supriyagarg May 30, 2018
973b9e6
Compute the location of Unscheduled pods correctly.
supriyagarg Jun 1, 2018
0094b2b
Add extra logs for the API response
supriyagarg Jun 5, 2018
ad8a4ec
Add support to switch between individual and batch writes
supriyagarg Jun 5, 2018
5c124b7
Update the location format reported to the metadata agent
supriyagarg Jun 9, 2018
5b6be34
Update the batch endpoint
supriyagarg Jun 14, 2018
887a257
Update the location for nodes and pods to the cluster location.
supriyagarg Jun 14, 2018
71b3122
Add support for watching and ingesting Services and Endponts.
supriyagarg Jun 14, 2018
1f62cd5
Run service and endpoint watches only at cluster level.
supriyagarg Jun 17, 2018
51bc70c
Drop the created_at field from the Metadata object.
supriyagarg Jun 19, 2018
94fad2d
Minor fixes to the batch code.
supriyagarg Jun 20, 2018
0348a4c
Remove the MetadataIngestionUseBatch flag.
supriyagarg Jun 22, 2018
1328d3a
Revert to using MetadataIngestionEndpointFormat.
supriyagarg Jun 23, 2018
59cec10
Update the metadata ingestion endpoint to point to the batch URI.
supriyagarg Jul 19, 2018
f779ed3
Update the location format for GCP resources.
supriyagarg Jul 19, 2018
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
1 change: 0 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SRCS=\
configuration.cc \
updater.cc \
instance.cc \
docker.cc \
kubernetes.cc \
resource.cc \
oauth2.cc \
Expand Down
3 changes: 1 addition & 2 deletions src/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ constexpr const int kMetadataReporterDefaultPurgeDeleted = false;
constexpr const char kMetadataReporterDefaultUserAgent[] =
"metadata-agent/" STRINGIFY(AGENT_VERSION);
constexpr const char kMetadataIngestionDefaultEndpointFormat[] =
"https://stackdriver.googleapis.com/v1beta2/projects/{{project_id}}"
"/resourceMetadata:batchUpdate";
"https://stackdriver.googleapis.com/batch/resourceMetadata";
constexpr const int kMetadataIngestionDefaultRequestSizeLimitBytes =
8*1024*1024;
constexpr const int kMetadataIngestionDefaultRequestSizeLimitCount = 1000;
Expand Down
239 changes: 0 additions & 239 deletions src/docker.cc

This file was deleted.

84 changes: 0 additions & 84 deletions src/docker.h

This file was deleted.

1 change: 1 addition & 0 deletions src/instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ std::vector<MetadataUpdater::ResourceMetadata>
result.emplace_back(
std::vector<std::string>{"", environment_.InstanceId()},
instance_resource,
/*full_resource_name=*/"",
// TODO: Send actual instance metadata.
MetadataStore::Metadata::IGNORED()
);
Expand Down
Loading